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:
cls%seawood.org
2000-10-24 01:10:25 +00:00
parent eda004b171
commit b073f4a1f8
2 changed files with 328 additions and 326 deletions

651
mozilla/configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -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