s3:build: remove CFLAGS from Solaris LDSHFLAGS, SHLD has them already
authorBjörn Jacke <bj@sernet.de>
Wed, 12 May 2010 17:05:37 +0000 (19:05 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 16 Jun 2010 06:29:57 +0000 (08:29 +0200)
The last 9 patches address bug #7504 (numerous build glitches to be fixed).

source3/configure.in

index 3f15043b4de07dcb6143459f3674eadcb04d5ffd..416fb67ec78bddc9174ede40a640e2857f143f5e 100644 (file)
@@ -1527,13 +1527,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="