svn commit: r324899 - projects/runtime-coverage/lib/libclang_rt/profile

Ngie Cooper ngie at FreeBSD.org
Mon Oct 23 05:11:02 UTC 2017


Author: ngie
Date: Mon Oct 23 05:11:00 2017
New Revision: 324899
URL: https://svnweb.freebsd.org/changeset/base/324899

Log:
  -fvisibility is a c++ thing, per gcc(1)
  
  Followup to r324894
  
  PR:	223179

Modified:
  projects/runtime-coverage/lib/libclang_rt/profile/Makefile

Modified: projects/runtime-coverage/lib/libclang_rt/profile/Makefile
==============================================================================
--- projects/runtime-coverage/lib/libclang_rt/profile/Makefile	Mon Oct 23 05:08:32 2017	(r324898)
+++ projects/runtime-coverage/lib/libclang_rt/profile/Makefile	Mon Oct 23 05:11:00 2017	(r324899)
@@ -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


More information about the svn-src-projects mailing list