summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-25 03:10:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:46 -0500
commit8b7c772ab254318aa98f5cdc43766a8c5a3cb7a8 (patch)
treef79050f0d95fe8235f15a073fec6f3660dd5236b /source4/build
parenta80e0cb4c231d44d218cc3964debf70c74b6032a (diff)
downloadsamba-8b7c772ab254318aa98f5cdc43766a8c5a3cb7a8.tar.gz
samba-8b7c772ab254318aa98f5cdc43766a8c5a3cb7a8.tar.bz2
samba-8b7c772ab254318aa98f5cdc43766a8c5a3cb7a8.zip
r7894: remove portability experiments until its working in the smb-build test project
(this change broke irix) (This used to be commit ac807d0aef3113e29796e2404eabb8165d44a197)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/makefile.pm8
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__