Index: projects/runtime-coverage-v2/lib/libclang_rt/profile/Makefile =================================================================== --- projects/runtime-coverage-v2/lib/libclang_rt/profile/Makefile (revision 346526) +++ projects/runtime-coverage-v2/lib/libclang_rt/profile/Makefile (revision 346527) @@ -1,29 +1,29 @@ # $FreeBSD$ .include LIB= clang_rt.profile-${CRTARCH} CFLAGS+= -DCOMPILER_RT_HAS_ATOMICS=1 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 SRCS+= profile/InstrProfilingBuffer.c SRCS+= profile/InstrProfilingFile.c SRCS+= profile/InstrProfilingMerge.c SRCS+= profile/InstrProfilingMergeFile.c SRCS+= profile/InstrProfilingNameVar.c SRCS+= profile/InstrProfilingPlatformDarwin.c SRCS+= profile/InstrProfilingPlatformLinux.c SRCS+= profile/InstrProfilingPlatformOther.c SRCS+= profile/InstrProfilingRuntime.cc SRCS+= profile/InstrProfilingUtil.c SRCS+= profile/InstrProfilingValue.c SRCS+= profile/InstrProfilingWriter.c .include