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.GNU14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/makeinclude/platform_freebsd.GNU b/include/makeinclude/platform_freebsd.GNU
index ec19e671667..213680a592d 100644
--- a/include/makeinclude/platform_freebsd.GNU
+++ b/include/makeinclude/platform_freebsd.GNU
@@ -7,9 +7,17 @@ ifeq ($(VERSION),2)
versioned_so = 1
endif
-optimize = 1
-
-debug = 1
+ifndef exceptions
+ exceptions = 1
+endif
+
+ifeq (,$(debug))
+ debug = 1
+endif
+
+ifeq (,$(optimize))
+ optimize = 1
+endif
CC = gcc
CXX = g++