summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-05-12 19:05:37 +0200
committerBjörn Jacke <bj@sernet.de>2010-05-24 12:26:10 +0200
commit2466dc7eaf52165a87a1e0311490034c70536a6e (patch)
tree3003f240ec68994f40352fb942e8c6e491d1ac4b
parent5f0a2a15d89089f78875676099cd8a23a18ace9e (diff)
downloadsamba-2466dc7eaf52165a87a1e0311490034c70536a6e.tar.gz
samba-2466dc7eaf52165a87a1e0311490034c70536a6e.tar.xz
samba-2466dc7eaf52165a87a1e0311490034c70536a6e.zip
s3:build: remove CFLAGS from LDSHFLAGS, SHLD has them already
-rw-r--r--source3/configure.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 8edb86a4e7..1928490630 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -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="