Skip to content

Commit

Permalink
cmake: fix elf-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziemas committed Jan 27, 2025
1 parent 24a8359 commit 70f2141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ee/elf-loader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ file(GLOB elf-loader_INCLUDE_FILES "include/*.h*")
set_target_properties(elf-loader PROPERTIES PUBLIC_HEADER "${elf-loader_INCLUDE_FILES}")
install(TARGETS elf-loader)

target_add_erl(elf-loader)
target_add_erl(elf-loader)
2 changes: 1 addition & 1 deletion ee/elf-loader/src/loader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ add_executable(loader)
target_sources(loader PRIVATE src/loader.c)
target_include_directories(loader PRIVATE ${EE_INC})
target_link_libraries(loader PRIVATE kernel cglue)
target_link_options(loader PRIVATE -T${CMAKE_CURRENT_SOURCE_DIR}/linkfile)
target_link_options(loader PRIVATE -nodefaultlibs -lc_nano -lgcc -lm_nano -T${CMAKE_CURRENT_SOURCE_DIR}/linkfile)

0 comments on commit 70f2141

Please sign in to comment.