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

coke at svn.parrot.org coke at svn.parrot.org
Fri Feb 12 00:17:56 UTC 2010


Author: coke
Date: Fri Feb 12 00:17:55 2010
New Revision: 43914
URL: https://trac.parrot.org/parrot/changeset/43914

Log:
Avoid some warnings on ops.

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

Modified: branches/rm_cflags/config/gen/makefiles/root.in
==============================================================================
--- branches/rm_cflags/config/gen/makefiles/root.in	Thu Feb 11 19:43:21 2010	(r43913)
+++ branches/rm_cflags/config/gen/makefiles/root.in	Fri Feb 12 00:17:55 2010	(r43914)
@@ -1428,15 +1428,17 @@
 
 src/atomic/gcc_x86$(O) : $(PARROT_H_HEADERS) $(INC_DIR)/atomic/gcc_x86.h
 
-src/ops/core_ops$(O) : src/ops/core_ops.c \
-	include/pmc/pmc_callcontext.h \
-	include/pmc/pmc_continuation.h \
-        include/pmc/pmc_parrotlibrary.h \
-        src/io/io_private.h $(INC_DIR)/dynext.h $(INC_DIR)/embed.h \
-        $(INC_DIR)/oplib/core_ops.h $(INC_DIR)/runcore_api.h
-
 # core_ops depends upon config.h so that it gets updated along with
 # updates to config.h's version numbers
+## SUFFIX OVERRIDE - Warnings.
+src/ops/core_ops$(O) : src/ops/core_ops.c \
+    include/pmc/pmc_callcontext.h \
+    include/pmc/pmc_continuation.h \
+    include/pmc/pmc_parrotlibrary.h \
+    src/io/io_private.h $(INC_DIR)/dynext.h $(INC_DIR)/embed.h \
+    $(INC_DIR)/oplib/core_ops.h $(INC_DIR)/runcore_api.h
+	$(CC) $(CFLAGS) @cc_shared@ -Wno-unused-parameter -Wno-unused-variable \
+    -I$(@D) @cc_o_out@$@ -c src/ops/core_ops.c
 
 # .h files are built along with .c
 $(INC_DIR)/oplib/core_ops.h: src/ops/core_ops.c


More information about the parrot-commits mailing list