Lines 185-191
Link Here
|
185 |
.include <bsd.port.options.mk> |
185 |
.include <bsd.port.options.mk> |
186 |
|
186 |
|
187 |
# keep in sync with /usr/src/lib/clang/clang.build.mk |
187 |
# keep in sync with /usr/src/lib/clang/clang.build.mk |
188 |
CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} |
188 |
CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL} |
189 |
|
189 |
|
190 |
.if ${PORT_OPTIONS:MCLANG} |
190 |
.if ${PORT_OPTIONS:MCLANG} |
191 |
COMMANDS+= c-index-test \ |
191 |
COMMANDS+= c-index-test \ |
Lines 274-280
Link Here
|
274 |
libclang_rt.ubsan_standalone_cxx-x86_64.a \ |
274 |
libclang_rt.ubsan_standalone_cxx-x86_64.a \ |
275 |
libclang_rt.ubsan_standalone_cxx-x86_64.a.syms |
275 |
libclang_rt.ubsan_standalone_cxx-x86_64.a.syms |
276 |
.endif |
276 |
.endif |
277 |
.if ${ARCH} == "i386" |
277 |
.if ${ARCH} == i386 |
278 |
_COMPILER_RT_LIBS+= \ |
278 |
_COMPILER_RT_LIBS+= \ |
279 |
libclang_rt.asan-i386.a \ |
279 |
libclang_rt.asan-i386.a \ |
280 |
libclang_rt.asan-i386.so \ |
280 |
libclang_rt.asan-i386.so \ |
Lines 308-314
Link Here
|
308 |
CXXFLAGS+= -D_GLIBCXX_USE_C99 |
308 |
CXXFLAGS+= -D_GLIBCXX_USE_C99 |
309 |
.endif |
309 |
.endif |
310 |
|
310 |
|
311 |
.if ${ARCH} == "armv6" |
311 |
.if ${ARCH} == armv6 || ${ARCH} == armv7 |
312 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils |
312 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils |
313 |
CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin |
313 |
CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin |
314 |
MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin |
314 |
MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin |