opnsense-ports/emulators/bsvc/files/patch-src-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

19 lines
466 B
Text

--- Makefile.orig Sun Nov 3 13:08:10 2002
+++ Makefile Sun Nov 3 13:08:55 2002
@@ -6,12 +6,12 @@
###############################################################################
## C and C++ compiler to use
-CC = gcc
-CXX = g++
+CC ?= gcc
+CXX ?= g++
## C and C++ compiler flags
-CCFLAGS = -O
-CXXFLAGS = -O -ansi -Wall -D_G_NO_EXTERN_TEMPLATES
+CCFLAGS = $(CFLAGS)
+CXXFLAGS += -ansi -D_G_NO_EXTERN_TEMPLATES -DUSE_STD
## System Includes
SYS_INCLUDES =