multimedia/openh264: oops, drop unused devel/binutils
USE_BINUTILS isn't magically enabled for non-autotools ports. One of the following had to be provided CFLAGS+= -B${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin However, binutils 2.17 in base is enough for NEON with armv6 while aarch64 requires recent binutils for everything, not just this port. PR: 201273 (ping) Reported by: Mikaël Urankar (via private mail) MFH: 2015Q4 X-MFH-With: r400578
This commit is contained in:
parent
cc1513c86a
commit
b7763209ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400697
1 changed files with 3 additions and 8 deletions
|
@ -17,7 +17,9 @@ GH_ACCOUNT= cisco
|
|||
USES= compiler cpe gmake
|
||||
CPE_VENDOR= cisco
|
||||
USE_LDCONFIG= yes
|
||||
ASFLAGS+= ${ASFLAGS_${CHOSEN_COMPILER_TYPE}}
|
||||
ASFLAGS+= ${ASFLAGS_${MACHINE}_${CHOSEN_COMPILER_TYPE}}
|
||||
ASFLAGS_arm_clang= -no-integrated-as
|
||||
ASFLAGS_arm64_clang= -no-integrated-as
|
||||
MAKE_ARGS= OS=bsd ARCH="${ARCH:S/amd64/x86_64/}" \
|
||||
CCASFLAGS='$$(CFLAGS) ${ASFLAGS}' \
|
||||
CFLAGS_OPT="" CFLAGS_DEBUG=""
|
||||
|
@ -47,13 +49,6 @@ TEST_CFLAGS= -I${LOCALBASE}/include
|
|||
TEST_MAKE_ARGS= HAVE_GTEST=Yes
|
||||
TEST_ALL_TARGET=test
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ! ${PORT_OPTIONS:MDEBUG} && (${ARCH:Maarch*} || ${ARCH:Marm*} )
|
||||
USE_BINUTILS= yes
|
||||
ASFLAGS_clang= -no-integrated-as
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e '/gtest-targets\.mk/d' \
|
||||
-e '/pkgconfig/s/$$(LIBDIR_NAME)/libdata/' \
|
||||
|
|
Loading…
Reference in a new issue