mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
Add -Wl,--undefined-version when using newer lld
to work around errors like version script assignment of 'GLIBC_2.4' to symbol '__stack_chk_guard' failed: symbol not defined
This commit is contained in:
parent
2dda6eab52
commit
3697387eab
@ -936,6 +936,7 @@ ifeq ($(with-lld),yes)
|
||||
LDFLAGS.so += -fuse-ld=lld
|
||||
LDFLAGS-rtld += -fuse-ld=lld
|
||||
LDFLAGS += -fuse-ld=lld
|
||||
LDFLAGS += -Wl,--undefined-version
|
||||
endif
|
||||
|
||||
endif # with-clang == yes
|
||||
|
Loading…
Reference in New Issue
Block a user