cvsuser 04/03/14 05:37:14
Modified: config/gen makefiles.pl
Log:
[perl #27609] [PATCH] Fix illegal CFLAGS
While checking out ponie-2, I got stuck building parrot. The
following patch papers over the problem, but I wonder why
makefiles.pl is altering CFLAGS. Shouldn't that information
logically be in CFLAGS.in?
Courtey of Andy Dougherty
Revision Changes Path
1.29 +6 -3 parrot/config/gen/makefiles.pl
Index: makefiles.pl
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles.pl,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -w -r1.28 -r1.29
--- makefiles.pl 8 Mar 2004 19:05:57 -0000 1.28
+++ makefiles.pl 14 Mar 2004 13:37:14 -0000 1.29
@@ -1,6 +1,6 @@
#! perl -w
# Copyright: 2001-2003 The Perl Foundation. All Rights Reserved.
-# $Id: makefiles.pl,v 1.28 2004/03/08 19:05:57 brentdax Exp $
+# $Id: makefiles.pl,v 1.29 2004/03/14 13:37:14 leo Exp $
=head1 NAME
@@ -35,7 +35,10 @@
open(CFLAGS, ">> CFLAGS") or die "open >> CFLAGS: $!";
+ # Why is this here? I'd think this information belongs
+ # in the CFLAGS.in file. -- A.D. March 12, 2004
if (Configure::Data->get('cpuarch') =~ /sun4|sparc64/) {
+ # CFLAGS entries must be left-aligned.
print CFLAGS <<"EOF";
jit_cpu.c -{-Wcast-align} # lots of noise!
nci.c -{-Wstrict-prototypes} # lots of noise!