Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:07:20 -0000
From:      Enji Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r346527 - projects/runtime-coverage-v2/lib/libclang_rt/profile
Message-ID:  <201904220659.x3M6xHrs094238@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904220659.x3M6xHrs094238>