1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

Some small changes to configure to remove things like -X4 etc on compiles.

(This used to be commit ec6c5da124bc0f090d8aef40247acd44aa2850f9)
This commit is contained in:
Richard Sharpe 2001-09-11 03:10:29 +00:00
parent 70a51f9a37
commit 4353ea7d25

View File

@ -662,19 +662,18 @@ case "$host_os" in
if test "${ac_cv_prog_CC}" = "gcc"; then if test "${ac_cv_prog_CC}" = "gcc"; then
PICFLAG="-fPIC" PICFLAG="-fPIC"
else else
PICFLAG="-KPIC -xO4" PICFLAG="-KPIC"
POBAD_CC="" POBAD_CC=""
PICSUFFIX="po.o"
fi fi
;; ;;
*sunos*) AC_DEFINE(SUNOS4) *sunos*) AC_DEFINE(SUNOS4)
BLDSHARED="true" BLDSHARED="true"
LDSHFLAGS="-Wl,-h,\$@ -G" LDSHFLAGS="-Wl,-h,\$@ -G"
PICFLAG="-KPIC -O2" # Is this correct for SunOS PICFLAG="-KPIC" # Is this correct for SunOS
;; ;;
*bsd*) BLDSHARED="true" *bsd*) BLDSHARED="true"
LDSHFLAGS="-Wl,-soname,\$@ -shared" LDSHFLAGS="-Wl,-soname,\$@ -shared"
PICFLAG="-fPIC -O2" PICFLAG="-fPIC"
;; ;;
*irix*) AC_DEFINE(IRIX) *irix*) AC_DEFINE(IRIX)
case "$host_os" in case "$host_os" in