diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2015-01-25 23:29:50 -0200 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2015-01-25 23:29:50 -0200 |
commit | a5f799af9819876c5d1dc9d77dc3ee9f12171b65 (patch) | |
tree | 0000b03eba4e6a12faf26485aac888846f1e6902 /configure.ac | |
parent | 27bcc9111b63e94d091c3fa47e81fe52b806cd3e (diff) | |
download | kmod-a5f799af9819876c5d1dc9d77dc3ee9f12171b65.tar.gz kmod-a5f799af9819876c5d1dc9d77dc3ee9f12171b65.tar.bz2 kmod-a5f799af9819876c5d1dc9d77dc3ee9f12171b65.zip |
build: pass --no-undefined to linker
Do not allow undefined symbols.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e7bab61..5948cf3 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) |