s3:build: remove CFLAGS from LDSHFLAGS, SHLD has them already
authorBjörn Jacke <bj@sernet.de>
Wed, 12 May 2010 17:05:37 +0000 (19:05 +0200)
committerBjörn Jacke <bj@sernet.de>
Mon, 24 May 2010 10:26:10 +0000 (12:26 +0200)
source3/configure.in

index 8edb86a4e73bed0c9c3e17e689e0a053ac185f51..19284906308e9dc840857eacefa842752a2553e6 100644 (file)
@@ -1577,13 +1577,10 @@ DSO_EXPORTS=""
                                if test "${ac_cv_prog_gnu_ld}" = "yes"; then
                                        DYNEXP="-Wl,-E"
                                fi
-                               # TODO: need to add $CFLAGS here for explicit 64-bit builds?
                                LDSHFLAGS="-shared"
                        else
                                PICFLAG="-KPIC"
-                               ## ${CFLAGS} added for building 64-bit shared
-                               ## libs using Sun's Compiler
-                               LDSHFLAGS="-G \${CFLAGS}"
+                               LDSHFLAGS="-G"
                        fi
                        if test "$ac_cv_prog_gnu_ld" = "yes"; then
                                SONAMEFLAG="-Wl,-soname="