From 5ad76adc63500c629d053786982589af5b059fbb Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 24 Jun 2005 09:55:34 +0000 Subject: r7875: try to see if this is portable metze (This used to be commit a3439d9365c2af471a4669373c1a0b5327e6a01b) --- source4/build/smb_build/makefile.pm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'source4/build') diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 28157da81e0..08282f86997 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -164,10 +164,8 @@ sub _prepare_dummy_MAKEDIR() bin/.dummy: @: >> $@ || : > $@ -dynconfig.o: dynconfig.c Makefile - @echo Compiling $*.c - @$(CC) $(CFLAGS) @PICFLAG@ $(PATH_FLAGS) -c $< -o $@ -@BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@ +dynconfig.o_CFLAGS = $(PATH_FLAGS) +dynconfig.o: Makefile __EOD__ } @@ -202,7 +200,7 @@ sub _prepare_std_CC_rule($$$$$) # $comment .$src.$dst: \@echo $message \$\*.$src - \@\$(CC) \$(TARGET_CFLAGS) \$(CFLAGS) $flags -c \$< -o \$\@ + \@\$(CC) \$(TARGET_CFLAGS) \$(\$\@_CFLAGS) \$(CFLAGS) $flags -c \$< -o \$\@ \@BROKEN_CC\@ -mv `echo \$\@ | sed 's%^.*/%%g'` \$\@ __EOD__ -- cgit