Changeset View
Changeset View
Standalone View
Standalone View
head/security/afl/Makefile
Show All 36 Lines | |||||
LLVM_MAKE_ARGS= LLVM_CONFIG=llvm-config${LLVM_DEFAULT} | LLVM_MAKE_ARGS= LLVM_CONFIG=llvm-config${LLVM_DEFAULT} | ||||
LLVM_ALL_TARGET= llvm_mode | LLVM_ALL_TARGET= llvm_mode | ||||
LLVM_TEST_TARGET= test_llvm_mode | LLVM_TEST_TARGET= test_llvm_mode | ||||
LLVM_VARS= CC=clang${LLVM_DEFAULT} \ | LLVM_VARS= CC=clang${LLVM_DEFAULT} \ | ||||
CXX=clang++${LLVM_DEFAULT} | CXX=clang++${LLVM_DEFAULT} | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${LLVM_DEFAULT:S,-devel,990,} >= 90 | |||||
LLVM_DEFAULT= 80 | |||||
.endif | |||||
.if ${ARCH} == "i386" | .if ${ARCH} == "i386" | ||||
# Clang i386 emits .cfi_sections which base as(1) doesn't understand | # Clang i386 emits .cfi_sections which base as(1) doesn't understand | ||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | ||||
RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
# Disable the instrumentation tests to make sure building packages in | # Disable the instrumentation tests to make sure building packages in | ||||
Show All 36 Lines |