mirror of
https://github.com/AuxXxilium/kmod.git
synced 2025-02-20 08:26:55 +07:00
build: pass --no-undefined to linker
Do not allow undefined symbols.
This commit is contained in:
parent
27bcc9111b
commit
a5f799af98
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user