Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2017 05:11:01 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r324899 - projects/runtime-coverage/lib/libclang_rt/profile
Message-ID:  <201710230511.v9N5B1Wj059878@repo.freebsd.org>

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



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