From: Lucas De Marchi Date: Mon, 26 Jan 2015 01:29:50 +0000 (-0200) Subject: build: pass --no-undefined to linker X-Git-Tag: v20~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a5f799af9819876c5d1dc9d77dc3ee9f12171b65;p=thirdparty%2Fkmod.git build: pass --no-undefined to linker Do not allow undefined symbols. --- diff --git a/configure.ac b/configure.ac index e7bab61b..5948cf34 100644 --- a/configure.ac +++ b/configure.ac @@ -241,6 +241,7 @@ AC_SUBST([OUR_CFLAGS], "$with_cflags $with_coverage_cflags") CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [ \ -Wl,--as-needed \ + -Wl,--no-undefined \ -Wl,--gc-sections]) AC_SUBST([OUR_LDFLAGS], $with_ldflags)