projects
/
platform
/
upstream
/
kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27bcc91
)
build: pass --no-undefined to linker
author
Lucas De Marchi
<lucas.demarchi@intel.com>
Mon, 26 Jan 2015 01:29:50 +0000
(23:29 -0200)
committer
Lucas De Marchi
<lucas.demarchi@intel.com>
Mon, 26 Jan 2015 01:29:50 +0000
(23:29 -0200)
Do not allow undefined symbols.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
e7bab61
..
5948cf3
100644
(file)
--- 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)