summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2018-04-12 16:41:57 +0000
committerKostya Kortchinsky <kostyak@google.com>2018-04-12 16:41:57 +0000
commitbafba57252d095a7d6c448afd4a2fbc3f3440aae (patch)
treea9b7cd2b3e0837052c9ff9dea025c0ffaaaca45f
parent3399e5083216edf0d6c1fe093bc881d1f08bbd13 (diff)
downloadbcm5719-llvm-bafba57252d095a7d6c448afd4a2fbc3f3440aae.tar.gz
bcm5719-llvm-bafba57252d095a7d6c448afd4a2fbc3f3440aae.zip
[scudo] Remove duplicate cmake flags
Summary: Now that common options are propagated again for runtimes build with D45507, the -f{data,function}-sections flags are now duplicates, remove them. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: mgorny, delcypher, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D45575 llvm-svn: 329925
-rw-r--r--compiler-rt/lib/scudo/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/scudo/CMakeLists.txt b/compiler-rt/lib/scudo/CMakeLists.txt
index 319bd3bb96f..1e03fcd407a 100644
--- a/compiler-rt/lib/scudo/CMakeLists.txt
+++ b/compiler-rt/lib/scudo/CMakeLists.txt
@@ -4,7 +4,7 @@ include_directories(..)
set(SCUDO_CFLAGS ${SANITIZER_COMMON_CFLAGS})
# SANITIZER_COMMON_CFLAGS include -fno-builtin, but we actually want builtins!
-list(APPEND SCUDO_CFLAGS -fbuiltin -ffunction-sections -fdata-sections)
+list(APPEND SCUDO_CFLAGS -fbuiltin)
append_rtti_flag(OFF SCUDO_CFLAGS)
set(SCUDO_DYNAMIC_LIBS ${SANITIZER_COMMON_LINK_LIBS})
OpenPOWER on IntegriCloud