diff options
-rw-r--r-- | source4/build/smb_build/makefile.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 08282f8699..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_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__ } @@ -200,7 +202,7 @@ sub _prepare_std_CC_rule($$$$$) # $comment .$src.$dst: \@echo $message \$\*.$src - \@\$(CC) \$(TARGET_CFLAGS) \$(\$\@_CFLAGS) \$(CFLAGS) $flags -c \$< -o \$\@ + \@\$(CC) \$(TARGET_CFLAGS) \$(CFLAGS) $flags -c \$< -o \$\@ \@BROKEN_CC\@ -mv `echo \$\@ | sed 's%^.*/%%g'` \$\@ __EOD__ |