From a82e50a994f167dc21ab5d3949e6fff858d51939 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Sat, 28 Oct 2000 13:05:25 +0000 Subject: Overall port clean up CC/CFLAGS safeness Submitted by: Jeremy Norris PR: ports/22171 --- graphics/mpeg_encode/files/patch-ac | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 graphics/mpeg_encode/files/patch-ac (limited to 'graphics/mpeg_encode/files/patch-ac') diff --git a/graphics/mpeg_encode/files/patch-ac b/graphics/mpeg_encode/files/patch-ac new file mode 100644 index 000000000000..4760ecb9ecfc --- /dev/null +++ b/graphics/mpeg_encode/files/patch-ac @@ -0,0 +1,20 @@ +--- Makefile~ Wed Aug 16 17:16:56 1995 ++++ Makefile Fri Oct 20 19:20:05 2000 +@@ -68,7 +68,7 @@ + ##################################################################### + # COMPILER # specify compiler; should be ANSI-compliant if possible # + ##################################################################### +-CC = gcc ++CC ?= gcc + + ################################################ + # MAKE # command to use for the "make" command # +@@ -96,7 +96,7 @@ + # + + # gcc +-CFLAGS = $(INCLUDEDIR) $(DEBUGFLAG) -Wall -Wmissing-prototypes $(PROFLAG) $(PROTOFLAG) ++CFLAGS += $(INCLUDEDIR) -Wall -Wmissing-prototypes $(PROFLAG) $(PROTOFLAG) + + # gcc-strict + #CFLAGS = $(INCLUDEDIR) $(DEBUGFLAG) -pedantic -Wall -Waggregate-return -Wtraditional -Wshadow -Wpointer-arith -Wno-parentheses -Wwrite-strings -Wconversion -Wcast-qual -Wcast-align -Wnested-externs -Wuninitialized -Wmissing-prototypes $(PROFLAG) $(PROTOFLAG) -- cgit v1.2.3