El 13/05/16 a las 04:24, John Vogel escribió:
a2a8b508a8e776f2da4b0198b4d5818da75b4fc3 Mon Sep 17 00:00:00 2001
--- file/Pkgfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
diff --git a/file/Pkgfile b/file/Pkgfile index cd502a5..816bbad 100644 --- a/file/Pkgfile +++ b/file/Pkgfile @@ -12,6 +12,21 @@ source=(ftp://ftp.astron.com/pub/file/$name-$version.tar.gz) build() { cd $name-$version
+ OLD_PATH=$PATH + export PATH=/usr/bin:/bin + + CC=gcc CXX=g++ \ + CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe" \ + LDFLAGS="" \ + AR=ar LD=ld AS=as RANLIB=ranlib STRIP=strip \ + ./configure --prefix=$SRC/host_file + make + make install + + export PATH=$SRC/host_file/bin:$OLD_PATH + + printf 'PATH=%s\n' "$PATH" + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ Thank you for the patch John. Applied: https://crux-arm.nu/gitweb?p=crossrootfs.git;a=commit;h=f4dc7e96c1f746e85201...
Regards, -- Victor Martinez Learning bit by bit | http://vjml.es