summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/toolchain/CC/TARGETS7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/toolchain/CC/TARGETS b/etc/toolchain/CC/TARGETS
index 06036918..2f2b58e6 100644
--- a/etc/toolchain/CC/TARGETS
+++ b/etc/toolchain/CC/TARGETS
@@ -168,7 +168,7 @@
}
, "clang":
{ "type": ["CC", "defaults"]
- , "arguments_config": ["OS", "ARCH", "TARGET_ARCH"]
+ , "arguments_config": ["OS", "ARCH", "TARGET_ARCH", "DEBUG"]
, "CC": ["clang"]
, "CXX": ["clang++"]
, "AR":
@@ -271,6 +271,11 @@
}
}
}
+ , "ADD_COMPILE_FLAGS":
+ { "type": "if"
+ , "cond": {"type": "var", "name": "DEBUG"}
+ , "then": ["-fdebug-compilation-dir=."]
+ }
, "PATH": ["/bin", "/sbin", "/usr/bin", "/usr/sbin"]
}
}