aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
authorHegedüs Márton Csaba <[email protected]>2018-06-11 17:43:14 +0200
committerHegedüs Márton Csaba <[email protected]>2018-06-11 17:43:14 +0200
commit3cd24636f2ab1bf3da3d05d275eec8f0ae99c8ff (patch)
tree127890f130daa495e287fade0985e88f78b74538 /src/build-data/cc
parent5c905339f858e0658cc2057d95beb01114b5972b (diff)
Required changes according to the code review
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/clang.txt2
-rw-r--r--src/build-data/cc/gcc.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 65586088b..d46c26446 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -11,6 +11,8 @@ optimization_flags "-O3"
sanitizer_optimization_flags "-O1 -fno-optimize-sibling-calls -fno-omit-frame-pointer"
size_optimization_flags "-Os"
+add_sysroot_option "--sysroot="
+
<sanitizers>
default -> address,undefined
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index a1e45b428..98f1a2167 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -17,6 +17,8 @@ shared_flags "-fPIC"
coverage_flags "--coverage"
stack_protector_flags "-fstack-protector"
+add_sysroot_option "--sysroot="
+
<sanitizers>
default -> iterator,address