summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-07-11 14:20:12 +0000
committerHerb Lewis <herb@samba.org>2003-07-11 14:20:12 +0000
commit5cd3b7c71c499aedaa712b62dc2a612e9cc4f4d0 (patch)
treee0306eb4adf7dcdbd6206654e3f67f109ad7cdf8 /source3
parent03d5867d529f126da368ebda70bf2d997aa602e0 (diff)
downloadsamba-5cd3b7c71c499aedaa712b62dc2a612e9cc4f4d0.tar.gz
samba-5cd3b7c71c499aedaa712b62dc2a612e9cc4f4d0.tar.bz2
samba-5cd3b7c71c499aedaa712b62dc2a612e9cc4f4d0.zip
get rid of CFLAGS from LDSHFLAGS and WINBIND_NSS_LDSHFLAGS and instead
define it in SHLD for those systems the use CC for SHLD. (This used to be commit d0e2f3d1098ac0b8fa9165b3a93cd8d325a7a0d9)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in4
-rw-r--r--source3/configure.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 8ad43bcbca..91c0fe983d 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -18,8 +18,8 @@ CFLAGS=@CFLAGS@
CPPFLAGS=@CPPFLAGS@
EXEEXT=@EXEEXT@
LDFLAGS=@LDFLAGS@
-LDSHFLAGS=@LDSHFLAGS@ @LDFLAGS@ @CFLAGS@
-WINBIND_NSS_LDSHFLAGS=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@ @CFLAGS@
+LDSHFLAGS=@LDSHFLAGS@ @LDFLAGS@
+WINBIND_NSS_LDSHFLAGS=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
AWK=@AWK@
DYNEXP=@DYNEXP@
PYTHON=@PYTHON@
diff --git a/source3/configure.in b/source3/configure.in
index 489d655190..3a940b8da8 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -954,7 +954,7 @@ BLDSHARED="false"
HOST_OS="$host_os"
LDSHFLAGS="-shared"
SONAMEFLAG="#"
-SHLD="\${CC}"
+SHLD="\${CC} \${CFLAGS}"
PICFLAG=""
PICSUFFIX="po"
POBAD_CC="#"