r6148: Add a showflags target to display the various compiler flags a la
authorTim Potter <tpot@samba.org>
Thu, 31 Mar 2005 02:40:08 +0000 (02:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:11:22 +0000 (13:11 -0500)
showlayout.  There seems to be a bunch of -D and -I stuff in LD_FLAGS
which I don't think should be there.
(This used to be commit 87f88aaceeacf57b4a8a31e005894cbff4a21779)

source4/build/smb_build/makefile.pm

index 0f0a60688a739432ca62217296e8ba2307f2d37d..5d567d9b72497fd79fc5ced8044c52302abb68f5 100644 (file)
@@ -600,6 +600,13 @@ showlayout:
        \@echo \"  piddir:  \$(PIDDIR)\"
        \@echo \"  lockdir:  \$(LOCKDIR)\"
 
+showflags:
+       \@echo \"Samba will be compiled with flags:\"
+       \@echo \"  CC_FLAGS = \$(CC_FLAGS)\"
+       \@echo \"  LD_FLAGS = \$(LD_FLAGS)\"
+       \@echo \"  STLD_FLAGS = \$(STLD_FLAGS)\"
+       \@echo \"  SHLD_FLAGS = \$(SHLD_FLAGS)\"
+
 SBIN_PROGS = bin/smbd
 
 BIN_PROGS = bin/smbclient \\