aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-04-12 03:49:44 +0000
committerlloyd <[email protected]>2015-04-12 03:49:44 +0000
commit6e2bf7b795a0f1a9731f23ec4fa69a3e4e716cdb (patch)
tree9d3acb25a35d106d41d8d2867c9aa3ddc71d1563 /src/build-data/cc
parent62947773cedb0c9534c5df91271db9a9414e6e2a (diff)
Add coverage checking with gcov/lcov
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/clang.txt1
-rw-r--r--src/build-data/cc/gcc.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 9216c12c9..195318291 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -20,6 +20,7 @@ app_opt_flags "-O2"
shared_flags "-fPIC"
debug_flags "-g"
no_debug_flags ""
+coverage_flags "--coverage"
visibility_build_flags "-fvisibility=hidden"
visibility_attribute '__attribute__((visibility("default")))'
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 324f51071..1e1eb2fb9 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -16,6 +16,7 @@ lib_opt_flags "-O2"
app_opt_flags "-O2"
shared_flags "-fPIC"
debug_flags "-g"
+coverage_flags "--coverage"
visibility_build_flags "-fvisibility=hidden"
visibility_attribute '__attribute__((visibility("default")))'