Makefile.inc (02ebdc78239c4e929e42896931a4f04526e04440) Makefile.inc (a160cbfa073e8499026063d2d3882b2117b4ced7)
1# $FreeBSD$
2
3COMPILERRTDIR= ${SRCTOP}/contrib/compiler-rt
4UNWINDINCDIR= ${SRCTOP}/contrib/llvm/projects/libunwind/include
5UNWINDSRCDIR= ${SRCTOP}/contrib/llvm/projects/libunwind/src
6
7STATIC_CFLAGS+=${PICFLAG} -fvisibility=hidden -DVISIBILITY_HIDDEN
8

--- 15 unchanged lines hidden (view full) ---

24.endfor
25
26CFLAGS+= -I${UNWINDINCDIR} -I${.CURDIR} -D_LIBUNWIND_IS_NATIVE_ONLY
27.if empty(CXXFLAGS:M-std=*)
28CXXFLAGS+= -std=c++11
29.endif
30CXXFLAGS+= -fno-rtti
31STATIC_CXXFLAGS+= -fvisibility=hidden -fPIC
1# $FreeBSD$
2
3COMPILERRTDIR= ${SRCTOP}/contrib/compiler-rt
4UNWINDINCDIR= ${SRCTOP}/contrib/llvm/projects/libunwind/include
5UNWINDSRCDIR= ${SRCTOP}/contrib/llvm/projects/libunwind/src
6
7STATIC_CFLAGS+=${PICFLAG} -fvisibility=hidden -DVISIBILITY_HIDDEN
8

--- 15 unchanged lines hidden (view full) ---

24.endfor
25
26CFLAGS+= -I${UNWINDINCDIR} -I${.CURDIR} -D_LIBUNWIND_IS_NATIVE_ONLY
27.if empty(CXXFLAGS:M-std=*)
28CXXFLAGS+= -std=c++11
29.endif
30CXXFLAGS+= -fno-rtti
31STATIC_CXXFLAGS+= -fvisibility=hidden -fPIC
32# Probably need to just move this earlier or use CXXFLAGS
32.if ${MK_DIRDEPS_BUILD} == "yes"
33# Avoid dependency on lib/libc++
33.if ${MK_DIRDEPS_BUILD} == "yes"
34# Avoid dependency on lib/libc++
34CFLAGS+= -I${SRCTOP}/contrib/libc++/include
35CFLAGS+= -isystem ${SRCTOP}/contrib/libc++/include -nostdinc++
35.endif
36.endif