Add warning on missing undefined symbols
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 29 May 2017 16:06:55 +0000 (18:06 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 29 May 2017 16:06:55 +0000 (18:06 +0200)
Change-Id: I0ebe3b222cc5f0add9c9d433c0517af4e1910911
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
CMakeLists.txt

index bc201a2..d06781e 100644 (file)
@@ -39,7 +39,7 @@ INCLUDE(CTest)
 
 ###########################################################################
 
-link_libraries(-Wl,--as-needed -Wl,--gc-sections)
+link_libraries(-Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined)
 
 add_compile_options(-Wall -Wextra -Wconversion)
 add_compile_options(-Wno-unused-parameter) # frankly not using a parameter does it care?