зеркало из https://github.com/mozilla/pjs.git
Bugzilla Bug 316964: use the -z ignore linker flag on Solaris. The patch
is contributed by Boying Lu <brian.lu@sun.com>. r=wtc,sr=benjamin.smedberg.
This commit is contained in:
Родитель
25877ec24e
Коммит
a1d11c33b1
|
@ -4681,10 +4681,10 @@ EOF
|
|||
if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then
|
||||
GCC_USE_GNU_LD=1
|
||||
fi
|
||||
DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs'
|
||||
DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore'
|
||||
else
|
||||
DSO_CFLAGS=-KPIC
|
||||
DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs'
|
||||
DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore'
|
||||
fi
|
||||
if test -n "$GNU_CC"; then
|
||||
CFLAGS="$CFLAGS -Wall"
|
||||
|
|
|
@ -1876,10 +1876,10 @@ mips-sony-newsos*)
|
|||
if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then
|
||||
GCC_USE_GNU_LD=1
|
||||
fi
|
||||
DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs'
|
||||
DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore'
|
||||
else
|
||||
DSO_CFLAGS=-KPIC
|
||||
DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs'
|
||||
DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore'
|
||||
fi
|
||||
if test -n "$GNU_CC"; then
|
||||
CFLAGS="$CFLAGS -Wall"
|
||||
|
|
Загрузка…
Ссылка в новой задаче