Once again attempt to fix build on aarch64/armv6 by not stomping on CFLAGS.

Necessary but possibly insufficient.

Reported by:	portlint
Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2016-11-29 15:34:50 +00:00
parent 7f03ea1015
commit dc75ca0f2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427383

View file

@ -64,7 +64,7 @@ FFMPEG_CFLAGS_OFF+=-msse
.if ${ARCH} == aarch64 || ${ARCH} == armv6
CONFIGURE_ENV+= ASFLAGS=-no-integrated-as
CFLAGS= -no-integrated-as
CFLAGS+= -no-integrated-as
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin