summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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__
}