[svn:parrot] r43871 - branches/rm_cflags/config/gen/makefiles

coke at svn.parrot.org coke at svn.parrot.org
Wed Feb 10 15:06:24 UTC 2010


Author: coke
Date: Wed Feb 10 15:06:23 2010
New Revision: 43871
URL: https://trac.parrot.org/parrot/changeset/43871

Log:
Don't need CFLAGS manipulation, just turn off these warnings.

Modified:
   branches/rm_cflags/config/gen/makefiles/CFLAGS.in
   branches/rm_cflags/config/gen/makefiles/root.in

Modified: branches/rm_cflags/config/gen/makefiles/CFLAGS.in
==============================================================================
--- branches/rm_cflags/config/gen/makefiles/CFLAGS.in	Wed Feb 10 15:05:58 2010	(r43870)
+++ branches/rm_cflags/config/gen/makefiles/CFLAGS.in	Wed Feb 10 15:06:23 2010	(r43871)
@@ -6,7 +6,6 @@
 # Note, empty regex/options are just ignored.
 #
 
-src/spf_render.c    -{-Wformat-nonliteral}  # noisy
 src/tsq.c           -{@optimize@}           # never optimize tsq.c!
 
 # The src/ops/core_ops*.c files are challenging to optimize.

Modified: branches/rm_cflags/config/gen/makefiles/root.in
==============================================================================
--- branches/rm_cflags/config/gen/makefiles/root.in	Wed Feb 10 15:05:58 2010	(r43870)
+++ branches/rm_cflags/config/gen/makefiles/root.in	Wed Feb 10 15:06:23 2010	(r43871)
@@ -1391,7 +1391,9 @@
 
 src/utils$(O) : $(PARROT_H_HEADERS) include/pmc/pmc_nci.h
 
+## SUFFIX OVERRIDE - Warnings
 src/spf_render$(O) : $(PARROT_H_HEADERS) src/spf_render.str
+	$(CC) $(CFLAGS) -Wno-format-nonliteral @cc_shared@ -I$(@D) @cc_o_out@ $@ -c src/spf_render.c
 
 src/spf_vtable$(O) : $(PARROT_H_HEADERS) src/spf_vtable.str
 


More information about the parrot-commits mailing list