summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-05-12 19:05:37 +0200
committerKarolin Seeger <kseeger@samba.org>2010-06-18 08:33:32 +0200
commit4ab4485676d3ae203e83718d954e7ec6d695b33a (patch)
tree21baf72f3e11ac792736be213b4445ea3bab060f
parent3a08fd15283a026c8781eb75386af451e8cd9c79 (diff)
downloadsamba-4ab4485676d3ae203e83718d954e7ec6d695b33a.tar.gz
s3:build: remove CFLAGS from Solaris LDSHFLAGS, SHLD has them already
The last 9 patches address bug #7504 (numerous build glitches to be fixed). (cherry picked from commit 6c78aca691a9951a5a5c27e538df8c8376a74db1)
-rw-r--r--source3/configure.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 3f15043b4de..416fb67ec78 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -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="