svn commit: smb-build r13 - in trunk/build/smb_build: .

tridge at samba.org tridge at samba.org
Wed Jul 13 08:07:31 GMT 2005


Author: tridge
Date: 2005-07-13 08:07:30 +0000 (Wed, 13 Jul 2005)
New Revision: 13

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=smb-build&rev=13

Log:
this seems to be portable to aix, solaris and linux



Modified:
   trunk/build/smb_build/makefile.pm


Changeset:
Modified: trunk/build/smb_build/makefile.pm
===================================================================
--- trunk/build/smb_build/makefile.pm	2005-07-13 07:49:50 UTC (rev 12)
+++ trunk/build/smb_build/makefile.pm	2005-07-13 08:07:30 UTC (rev 13)
@@ -198,16 +198,12 @@
 	my $flagsstr = "";
 	my $output;
 
-# I know the EXTRA_CFLAGS and shell below looks redundent, but it isn't
-# each works with a different type of make 
-
 	$output = << "__EOD__";
 # $comment
-EXTRA_CFLAGS=script/cflags.sh \$\@
 
 .$src.$dst:
 	\@echo $message \$\*.$src
-	\$(CC) \$(TARGET_CFLAGS) \$(EXTRA_CFLAGS:sh) \$(shell script/cflags.sh \$\@) \$(CFLAGS) $flags -c \$< -o \$\@
+	\$(CC) \$(TARGET_CFLAGS) `script/cflags.sh \$\@` \$(CFLAGS) $flags -c \$< -o \$\@
 \@BROKEN_CC\@	-mv `echo \$\@ | sed 's%^.*/%%g'` \$\@
 
 __EOD__



More information about the samba-cvs mailing list