summaryrefslogtreecommitdiff
path: root/mk/os.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/os.mk')
-rw-r--r--mk/os.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/mk/os.mk b/mk/os.mk
new file mode 100644
index 000000000..31d5dd789
--- /dev/null
+++ b/mk/os.mk
@@ -0,0 +1,16 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+# operating system quirks
+ifeq (${OStype},Darwin)
+HOST_CC:=clang -fbracket-depth=1024
+HOST_CXX:=clang++ -fbracket-depth=1024
+else
+ifeq (${OStype},FreeBSD)
+HOST_CC:=clang -fbracket-depth=1024
+HOST_CXX:=clang++ -fbracket-depth=1024
+else
+HOST_CC:=${CC}
+HOST_CXX:=${CXX}
+endif
+endif