summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-24 05:20:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:46 -0500
commit172b62c3426862ddf0ad97574785795800e8c1b3 (patch)
tree511c2204f5595b764d2234749a43aa7a54eb8df5 /source4/build
parent49736de46a340ed9256d7a914631a67453aa7530 (diff)
downloadsamba-172b62c3426862ddf0ad97574785795800e8c1b3.tar.gz
samba-172b62c3426862ddf0ad97574785795800e8c1b3.tar.bz2
samba-172b62c3426862ddf0ad97574785795800e8c1b3.zip
r7874: reverted metzes patch svn 7837 as it is not portable to make on
several platforms (such as FreeBSD) (This used to be commit 8cdebf5ce3b5908bfc0032151f17ba0f0e59e785)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/makefile.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 29eee6c468..28157da81e 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -164,8 +164,10 @@ sub _prepare_dummy_MAKEDIR()
bin/.dummy:
@: >> $@ || : > $@
-dynconfig.o: TARGET_CFLAGS=$(PATH_FLAGS)
-dynconfig.o: Makefile
+dynconfig.o: dynconfig.c Makefile
+ @echo Compiling $*.c
+ @$(CC) $(CFLAGS) @PICFLAG@ $(PATH_FLAGS) -c $< -o $@
+@BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
__EOD__
}