svn commit: r346527 - projects/runtime-coverage-v2/lib/libclang_rt/profile

Enji Cooper ngie at FreeBSD.org
Mon Apr 22 06:59:18 UTC 2019


Author: ngie
Date: Mon Apr 22 06:59:17 2019
New Revision: 346527
URL: https://svnweb.freebsd.org/changeset/base/346527

Log:
  Use CFLAGS instead of CXXFLAGS for -fvisibility=default
  
  This code doesn't have C++ sources; only C sources. Use CFLAGS instead.

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

Modified: projects/runtime-coverage-v2/lib/libclang_rt/profile/Makefile
==============================================================================
--- projects/runtime-coverage-v2/lib/libclang_rt/profile/Makefile	Mon Apr 22 05:00:29 2019	(r346526)
+++ projects/runtime-coverage-v2/lib/libclang_rt/profile/Makefile	Mon Apr 22 06:59:17 2019	(r346527)
@@ -9,7 +9,7 @@ CFLAGS+=	-DCOMPILER_RT_HAS_FCNTL_LCK=1
 CFLAGS+=	-DCOMPILER_RT_HAS_UNAME=1
 
 # This is needed for --coverage
-CXXFLAGS+=	-fvisibility=default
+CFLAGS+=	-fvisibility=default
 
 SRCS+=		profile/GCDAProfiling.c
 SRCS+=		profile/InstrProfiling.c


More information about the svn-src-projects mailing list