Make the cross binutils able to tweak his sysroot

This commit is contained in:
Baptiste Daroussin 2014-08-31 17:32:07 +00:00
parent 43edc2db35
commit c96b3db2c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366797
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# $FreeBSD$
PORTREVISION= 0
PORTREVISION= 1
COMMENT= GNU binutils for arm cross-development
PKGNAMEPREFIX= arm-gnueabi-
PLIST= ${.CURDIR}/pkg-plist

View file

@ -36,7 +36,6 @@ CONFIGURE_ARGS+= --disable-shared \
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-system-zlib \
--with-sysroot=/ \
--with-gmp=${LOCALBASE} \
--with-mpfr=${LOCALBASE}
INFO= as \
@ -48,7 +47,8 @@ INFO= as \
ld
.endif
CONFIGURE_ARGS+= --disable-werror
CONFIGURE_ARGS+= --disable-werror \
--with-sysroot=/
OPTIONS_SUB= yes
NLS_USES= gettext