diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-06-24 09:55:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:46 -0500 |
commit | 5ad76adc63500c629d053786982589af5b059fbb (patch) | |
tree | 0cae666cc938f7fdd40bb14bc39cdb7cbd3bc395 /source4 | |
parent | 172b62c3426862ddf0ad97574785795800e8c1b3 (diff) | |
download | samba-5ad76adc63500c629d053786982589af5b059fbb.tar.gz samba-5ad76adc63500c629d053786982589af5b059fbb.tar.xz samba-5ad76adc63500c629d053786982589af5b059fbb.zip |
r7875: try to see if this is portable
metze
(This used to be commit a3439d9365c2af471a4669373c1a0b5327e6a01b)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/smb_build/makefile.pm | 8 |
1 files changed, 3 insertions, 5 deletions
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__ |