Add -fPIC to ASFLAGS for solaris/gcc builds. Bug #35418
Use -shared instead of -G to build shared libraries for solaris/gcc builds. Bug #35419 Thanks to Herbie.Ong@eng.sun.com for the patch. git-svn-id: svn://10.0.0.236/trunk@81634 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
651
mozilla/configure
vendored
651
mozilla/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -946,9 +946,10 @@ dnl the qsort routine under solaris is faulty
|
||||
;;
|
||||
esac
|
||||
else
|
||||
ASFLAGS="$ASFLAGS -fPIC"
|
||||
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_LDOPTS) -o $@'
|
||||
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_LDOPTS) -o $@'
|
||||
DSO_LDOPTS='-G -h $@'
|
||||
DSO_LDOPTS='-shared -h $@'
|
||||
_WARNINGS_CFLAGS=''
|
||||
_WARNINGS_CXXFLAGS=''
|
||||
if test "$OS_RELEASE" = "5.3"; then
|
||||
|
||||
Reference in New Issue
Block a user