summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_freebsd.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_freebsd.GNU')
-rw-r--r--include/makeinclude/platform_freebsd.GNU4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/makeinclude/platform_freebsd.GNU b/include/makeinclude/platform_freebsd.GNU
index ea79a5ba9b8..90ee7e6ba19 100644
--- a/include/makeinclude/platform_freebsd.GNU
+++ b/include/makeinclude/platform_freebsd.GNU
@@ -6,15 +6,17 @@
# To be used on FreeBSD platform without pthread support.
debug = 1
+optimize = 1
CC = gcc
CXX = g++
-CFLAGS += -w -O2 -fno-strict-prototypes
+CFLAGS += -w -fno-strict-prototypes
CCFLAGS += $(CFLAGS) -fno-implicit-templates
DCFLAGS += -g
DLD = ld
LD = $(CXX)
LIBS += -lstdc++ -lcompat
+OCFLAGS += -O2
PIC = -fpic -DPIC
AR = ar
ARFLAGS = ruv