projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61e88ee
)
procd: force -lc -lgcc to handle cross-dependencies between those two
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 11 Jun 2014 17:48:16 +0000
(19:48 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 11 Jun 2014 17:48:16 +0000
(19:48 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 2b72ad36af17e5e3577da4d44e83ec456e0cd113..b90cdd7193a55817ededd0c84133db14caa4ba8c 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-43,7
+43,7
@@
INSTALL(TARGETS udevtrigger
ADD_EXECUTABLE(upgraded upgraded.c watchdog.c)
-TARGET_LINK_LIBRARIES(upgraded ubox.a rt.a -static)
+TARGET_LINK_LIBRARIES(upgraded ubox.a rt.a -static
-lc -lgcc
)
set_target_properties(upgraded PROPERTIES LINK_SEARCH_END_STATIC 1)
INSTALL(TARGETS upgraded
RUNTIME DESTINATION sbin