mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Finally found a 'fix' for the OSF/1 ld's problem with multiply defined
symbols when building a .so. It creates the .so successfully, but returns a non-zero exit status, so the build fails. This change ignores the return status. This is OSF/1 (DU) specific.
This commit is contained in:
parent
2e090c3f1f
commit
12603cb184
12
configure.in
12
configure.in
@ -432,14 +432,16 @@ alpha*-*-linux*)
|
||||
|
||||
alpha*-*-osf*)
|
||||
if test "$GNU_CC"; then
|
||||
DSO_LDOPTS='-shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.$(DLL_SUFFIX)=%.$(DLL_SUFFIX))'
|
||||
DSO_LDOPTS='-shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.$(DLL_SUFFIX)=%.$(DLL_SUFFIX))'
|
||||
else
|
||||
CFLAGS="$CFLAGS -std1 -ieee_with_inexact"
|
||||
CXXFLAGS="$CXXFLAGS -std1 -ieee_with_inexact"
|
||||
DSO_LDOPTS='-shared -msym -expect_unresolved \* -soname $(@:$(OBJDIR)/%.$(DLL_SUFFIX)=%.$(DLL_SUFFIX))'
|
||||
DSO_CFLAGS=
|
||||
MKSHLIB_FORCE_ALL='-all'
|
||||
MKSHLIB_UNFORCE_ALL='-none'
|
||||
DSO_LDOPTS='-shared -msym -expect_unresolved \* -soname $(@:$(OBJDIR)/%.$(DLL_SUFFIX)=%.$(DLL_SUFFIX))'
|
||||
DSO_CFLAGS=
|
||||
MKSHLIB='-$(LD) $(DSO_LDOPTS)'
|
||||
MKCSHLIB='-$(LD) $(DSO_LDOPTS)'
|
||||
MKSHLIB_FORCE_ALL='-all'
|
||||
MKSHLIB_UNFORCE_ALL='-none'
|
||||
dnl Might fix the libxpcom.so breakage on this platform as well....
|
||||
AC_DEFINE(NSCAP_DISABLE_TEST_DONTQUERY_CASES)
|
||||
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
|
||||
|
Loading…
Reference in New Issue
Block a user