summaryrefslogtreecommitdiff
path: root/mk/os.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-11 22:40:55 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-11 22:40:55 +0100
commit74663fdbbd1dc92dd91f6f88dbc4f972df12c404 (patch)
tree284817a1c9ff266a6474ae9d441eb53e7c514e6c /mk/os.mk
parent5847a9730ff284181c4087ed9ce85cf9955c47c3 (diff)
Revert "rework prereq check"
This reverts commit fba2ff31928b18364c1934654169806f5c800e23.
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