opnsense-ports/multimedia/mpeg_encode/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
924 B
Text

--- 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)