aboutsummaryrefslogtreecommitdiff
path: root/lib/libclang_rt
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-10-23 05:11:00 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-10-23 05:11:00 +0000
commit0db4d62fc0420b98074243b28f4fa96871a1435e (patch)
tree366b90535da3cd4852cb4e621232d48d7c2e1617 /lib/libclang_rt
parenta4bed459c8bd4998c0d84d8bb4a7872599238da9 (diff)
downloadsrc-0db4d62fc0420b98074243b28f4fa96871a1435e.tar.gz
src-0db4d62fc0420b98074243b28f4fa96871a1435e.zip
-fvisibility is a c++ thing, per gcc(1)
Followup to r324894 PR: 223179
Notes
Notes: svn path=/projects/runtime-coverage/; revision=324899
Diffstat (limited to 'lib/libclang_rt')
-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