From 0db4d62fc0420b98074243b28f4fa96871a1435e Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Mon, 23 Oct 2017 05:11:00 +0000 Subject: [PATCH] -fvisibility is a c++ thing, per gcc(1) Followup to r324894 PR: 223179 --- lib/libclang_rt/profile/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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