aboutsummaryrefslogtreecommitdiff
path: root/lib/libclang_rt/profile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libclang_rt/profile/Makefile')
-rw-r--r--lib/libclang_rt/profile/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libclang_rt/profile/Makefile b/lib/libclang_rt/profile/Makefile
index f5860a69dd76..063f8bb11c36 100644
--- a/lib/libclang_rt/profile/Makefile
+++ b/lib/libclang_rt/profile/Makefile
@@ -5,7 +5,7 @@
LIB= clang_rt.profile-${CRTARCH}
# This is needed for --coverage
-CFLAGS+= -fvisibility=default
+CXXFLAGS+= -fvisibility=default
SRCS+= profile/GCDAProfiling.c
SRCS+= profile/InstrProfiling.c