forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
17 lines
453 B
Text
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
|