summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-06-24 09:55:34 +0000
committerStefan Metzmacher <metze@samba.org>2005-06-24 09:55:34 +0000
commitc32c743913dbe802ef3bfaf3d35bb70efc07341e (patch)
tree87f2b560fc257ee8eaaa58b33fb349f8ddfc61f9
parent0ed6bd4e95a173d257c741a250095554685fb4ac (diff)
downloadsamba-c32c743913dbe802ef3bfaf3d35bb70efc07341e.tar.gz
samba-c32c743913dbe802ef3bfaf3d35bb70efc07341e.tar.xz
samba-c32c743913dbe802ef3bfaf3d35bb70efc07341e.zip
r7875: try to see if this is portable
metze
-rw-r--r--source/build/smb_build/makefile.pm8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/build/smb_build/makefile.pm b/source/build/smb_build/makefile.pm
index 28157da81e0..08282f86997 100644
--- a/source/build/smb_build/makefile.pm
+++ b/source/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__