diff options
Diffstat (limited to 'src/config/shlib.conf')
-rw-r--r-- | src/config/shlib.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config/shlib.conf b/src/config/shlib.conf index f5eb6e3..3e4af6c 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -422,7 +422,9 @@ mips-*-netbsd*) SHLIBEXT=.so # Linux ld doesn't default to stuffing the SONAME field... # Use objdump -x to examine the fields of the library - LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT),--no-undefined' + # UNDEF_CHECK is suppressed by --enable-asan + LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT) $(UNDEF_CHECK)' + UNDEF_CHECK='-Wl,--no-undefined' # $(EXPORT_CHECK) runs export-check.pl when in maintainer mode. LDCOMBINE_TAIL='-Wl,--version-script binutils.versions $(EXPORT_CHECK)' SHLIB_EXPORT_FILE_DEP=binutils.versions |