summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:12:06 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:12:06 +0100
commit874f9c46c0a02893e6ca2cfc32a085c99dc78d28 (patch)
tree46ec8d49c8c659691f12a068f4d0f56ce6d48dd9 /mk
parenta32b5466ba4179b5dcc72ec80dd0745d8301f5e7 (diff)
add quirks for clang
Diffstat (limited to 'mk')
-rw-r--r--mk/os.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/mk/os.mk b/mk/os.mk
new file mode 100644
index 000000000..38a2e53f3
--- /dev/null
+++ b/mk/os.mk
@@ -0,0 +1,11 @@
+# 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
+HOST_CC:=${CC}
+HOST_CXX:=${CXX}
+endif