summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-07-11 14:23:45 +0000
committerHerb Lewis <herb@samba.org>2003-07-11 14:23:45 +0000
commit95fe82670032a3a43571b46d7bbf2c26bc8cdcd9 (patch)
tree135d89360dc739e761a54149dbfcafed6005c235 /source3
parent13af44768b39b622f12870e316293a55d97b06ce (diff)
downloadsamba-95fe82670032a3a43571b46d7bbf2c26bc8cdcd9.tar.gz
samba-95fe82670032a3a43571b46d7bbf2c26bc8cdcd9.tar.bz2
samba-95fe82670032a3a43571b46d7bbf2c26bc8cdcd9.zip
get rid of CFLAGS from LDSHFLAGS and WINBIND_NSS_LDSHFLAGS and instead
define it in SHLD for those systems that use CC for SHLD (This used to be commit 142c54ca924bd854e7d840c2a67692c9f61ee396)
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 77af73f5b8..c81fdd4a83 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 93cbb0a871..533757aab8 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -910,7 +910,7 @@ BLDSHARED="false"
HOST_OS="$host_os"
LDSHFLAGS="-shared"
SONAMEFLAG="#"
-SHLD="\${CC}"
+SHLD="\${CC} \${CFLAGS}"
PICFLAG=""
PICSUFFIX="po"
POBAD_CC="#"