aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/clang.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/cc/clang.txt')
-rw-r--r--src/build-data/cc/clang.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 195318291..5921f634c 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -13,18 +13,19 @@ lang_flags "-std=c++11 -D_REENTRANT -fstack-protector"
warning_flags "-Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wunreachable-code"
maintainer_warning_flags "-Qunused-arguments -Werror -Wno-error=unused-parameter -Wno-error=unused-variable -Wno-error=unreachable-code"
-makefile_style gmake
+compile_flags_release ""
+compile_flags_debug "-g"
+lib_opt_flags_release "-O3"
+app_opt_flags_release "-O2"
-lib_opt_flags "-O3"
-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")))'
+makefile_style gmake
+
<so_link_flags>
# The default works for GNU ld and several other Unix linkers
default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)"