summaryrefslogtreecommitdiff
path: root/source4/Makefile
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-02-20 19:20:13 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-02-20 19:20:13 +1100
commit1c1781b2c4a09080a19f834ba947d0410b2141f7 (patch)
tree05101a73b97f40d3019066206c4ec2146b09248d /source4/Makefile
parentab915504aaa40cebe5fa09a47b2ae46f7f9f334a (diff)
downloadsamba-1c1781b2c4a09080a19f834ba947d0410b2141f7.tar.gz
samba-1c1781b2c4a09080a19f834ba947d0410b2141f7.tar.bz2
samba-1c1781b2c4a09080a19f834ba947d0410b2141f7.zip
Simpler specification of CFLAGS and LDFLAGS
By being more consistant in applying CFLAGS and LDFLAGS (in particular) to every invocation, we make it simpler to enable gcov code coverage, both in the build system and on the build farm. Andrew Bartlett (This used to be commit 8c2f658a9688f0c51d2f3b948dc3213b65c7b77f)
Diffstat (limited to 'source4/Makefile')
-rw-r--r--source4/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/Makefile b/source4/Makefile
index ea98b5e469..1fddfefce3 100644
--- a/source4/Makefile
+++ b/source4/Makefile
@@ -14,10 +14,10 @@ SETUPDIR = $(datadir)/setup
NCALRPCDIR = $(localstatedir)/ncalrpc
BNLD = $(LD)
-BNLD_FLAGS = $(LDFLAGS)
+BNLD_FLAGS = $(LDFLAGS) $(SYS_LDFLAGS)
HOSTCC_FLAGS = -D_SAMBA_HOSTCC_ $(CFLAGS)
-HOSTLD_FLAGS = $(LDFLAGS)
+HOSTLD_FLAGS = $(LDFLAGS) $(SYS_LDFLAGS)
default: all