summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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