summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-09-11 03:10:29 +0000
committerRichard Sharpe <sharpe@samba.org>2001-09-11 03:10:29 +0000
commit4353ea7d257634eb7986f190aed3942a848db506 (patch)
tree06d84e36ee9ba163254afa1ca3f7724aaae7cae5
parent70a51f9a374d5dceff91031703815f7f20025105 (diff)
downloadsamba-4353ea7d257634eb7986f190aed3942a848db506.tar.gz
samba-4353ea7d257634eb7986f190aed3942a848db506.tar.bz2
samba-4353ea7d257634eb7986f190aed3942a848db506.zip
Some small changes to configure to remove things like -X4 etc on compiles.
(This used to be commit ec6c5da124bc0f090d8aef40247acd44aa2850f9)
-rw-r--r--source3/configure.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 8fabb070f0..050eadba24 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -662,19 +662,18 @@ case "$host_os" in
if test "${ac_cv_prog_CC}" = "gcc"; then
PICFLAG="-fPIC"
else
- PICFLAG="-KPIC -xO4"
+ PICFLAG="-KPIC"
POBAD_CC=""
- PICSUFFIX="po.o"
fi
;;
*sunos*) AC_DEFINE(SUNOS4)
BLDSHARED="true"
LDSHFLAGS="-Wl,-h,\$@ -G"
- PICFLAG="-KPIC -O2" # Is this correct for SunOS
+ PICFLAG="-KPIC" # Is this correct for SunOS
;;
*bsd*) BLDSHARED="true"
LDSHFLAGS="-Wl,-soname,\$@ -shared"
- PICFLAG="-fPIC -O2"
+ PICFLAG="-fPIC"
;;
*irix*) AC_DEFINE(IRIX)
case "$host_os" in