Reverted donm's solaris linker flag changes. You need to detect that gcc
is built to use the gnu linker. You cant assume that here. git-svn-id: svn://10.0.0.236/trunk@23490 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4f8cf8634e
commit
7933edd03e
@ -224,8 +224,17 @@ dnl MKSHLIB='$(LD) $(DSO_LDOPTS)'
|
||||
NS_USE_NATIVE=1
|
||||
else
|
||||
MKSHLIB='$(CC) $(DSO_LDOPTS)'
|
||||
MKSHLIB_FORCE_ALL='-Wl,--whole-archive'
|
||||
MKSHLIB_UNFORCE_ALL='-Wl,--no-whole-archive'
|
||||
|
||||
dnl donm: you need to detect that gcc is built to use the gnu
|
||||
dnl linker. You cant assume that here.
|
||||
dnl
|
||||
dnl MKSHLIB_FORCE_ALL='-Wl,--whole-archive'
|
||||
dnl MKSHLIB_UNFORCE_ALL='-Wl,--no-whole-archive'
|
||||
dnl
|
||||
|
||||
MKSHLIB_FORCE_ALL='-Wl,-z -Wl,allextract'
|
||||
MKSHLIB_UNFORCE_ALL='-Wl,-z -Wl,defaultextract'
|
||||
|
||||
AS='$(CC)'
|
||||
ASFLAGS='$(CFLAGS)'
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user