opnsense-ports/science/simlib/files/patch-src__Makefile.FreeBSD-i386
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

17 lines
453 B
Text

--- src/Makefile.FreeBSD-i386.orig 2008-04-06 14:24:46.000000000 +0800
+++ src/Makefile.FreeBSD-i386 2008-04-06 14:25:19.000000000 +0800
@@ -4,11 +4,11 @@
#
# name of the compiler for C and C++ language
-CC=gcc
-CXX=g++
+CC?=gcc
+CXX?=g++
# C++ compiler flags
-CXXFLAGS = -Wall -std=c++98 -fPIC
+CXXFLAGS ?= -Wall -std=c++98 -fPIC
CXXFLAGS += -O2 # with optimization
CXXFLAGS += -g # with debug info
#CXXFLAGS += -pg # with profile support