From: José Bollo Date: Mon, 29 May 2017 16:06:55 +0000 (+0200) Subject: Add warning on missing undefined symbols X-Git-Tag: dab_3.99.2~46 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=commitdiff_plain;h=e1e9ea2305132b62636b5e6e71a594c86216956a Add warning on missing undefined symbols Change-Id: I0ebe3b222cc5f0add9c9d433c0517af4e1910911 Signed-off-by: José Bollo --- diff --git a/CMakeLists.txt b/CMakeLists.txt index bc201a2a..d06781eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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?