Make the cross binutils able to tweak his sysroot
This commit is contained in:
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
|
@ -1,6 +1,6 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
COMMENT= GNU binutils for arm cross-development
|
COMMENT= GNU binutils for arm cross-development
|
||||||
PKGNAMEPREFIX= arm-gnueabi-
|
PKGNAMEPREFIX= arm-gnueabi-
|
||||||
PLIST= ${.CURDIR}/pkg-plist
|
PLIST= ${.CURDIR}/pkg-plist
|
||||||
|
|
|
@ -36,7 +36,6 @@ CONFIGURE_ARGS+= --disable-shared \
|
||||||
CFLAGS+= -I${LOCALBASE}/include
|
CFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
CONFIGURE_ARGS+= --with-system-zlib \
|
CONFIGURE_ARGS+= --with-system-zlib \
|
||||||
--with-sysroot=/ \
|
|
||||||
--with-gmp=${LOCALBASE} \
|
--with-gmp=${LOCALBASE} \
|
||||||
--with-mpfr=${LOCALBASE}
|
--with-mpfr=${LOCALBASE}
|
||||||
INFO= as \
|
INFO= as \
|
||||||
|
@ -48,7 +47,8 @@ INFO= as \
|
||||||
ld
|
ld
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
CONFIGURE_ARGS+= --disable-werror
|
CONFIGURE_ARGS+= --disable-werror \
|
||||||
|
--with-sysroot=/
|
||||||
|
|
||||||
OPTIONS_SUB= yes
|
OPTIONS_SUB= yes
|
||||||
NLS_USES= gettext
|
NLS_USES= gettext
|
||||||
|
|
Loading…
Reference in a new issue