Last active
October 31, 2023 03:35
-
-
Save matteomattei/fa5ad16c920e28a7f416b8165edcd84d to your computer and use it in GitHub Desktop.
Revisions
-
matteomattei revised this gist
Apr 15, 2016 . 1 changed file with 15 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,7 +21,21 @@ export CC=${CROSS_COMPILE}-gcc export NM=${CROSS_COMPILE}-nm export LIBS="-static -lc -lssl -lcrypto -lz -ldl" ./configure \ --prefix=${ROOTDIR}/build \ --target=${CROSS_COMPILE} \ --host=${CROSS_COMPILE} \ --build=i586-pc-linux-gnu \ --with-ssl=openssl --with-zlib \ --without-included-regex \ --enable-nls \ --enable-dependency-tracking \ --with-metalink \ --sysconfdir=${ROOTDIR}/build/etc \ --localedir=${ROOTDIR}/build/usr/share/locale \ --mandir=${ROOTDIR}/build/usr/share/man \ --infodir=${ROOTDIR}/build/usr/share/info \ --bindir=${ROOTDIR}/build/usr/bin make make install -
matteomattei created this gist
Apr 15, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ #!/bin/bash VERSION="1.17" if [ ! -f wget-${VERSION}.tar.xz ]; then wget http://ftp.gnu.org/gnu/wget/wget-${VERSION}.tar.xz fi rm -rf wget-${VERSION} build tar xJf wget-${VERSION}.tar.xz export ROOTDIR="${PWD}" cd wget-${VERSION} export CROSS_COMPILE="arm-none-linux-gnueabi" export CPPFLAGS="-I${ROOTDIR}/openssl/include -I${ROOTDIR}/zlib/include" export LDFLAGS="-L${ROOTDIR}/openssl/libs -L${ROOTDIR}/zlib/libs" export AR=${CROSS_COMPILE}-ar export AS=${CROSS_COMPILE}-as export LD=${CROSS_COMPILE}-ld export RANLIB=${CROSS_COMPILE}-ranlib export CC=${CROSS_COMPILE}-gcc export NM=${CROSS_COMPILE}-nm export LIBS="-static -lc -lssl -lcrypto -lz -ldl" ./configure --prefix=${ROOTDIR}/build --target=${CROSS_COMPILE} --host=${CROSS_COMPILE} --build=i586-pc-linux-gnu --with-ssl=openssl --with-zlib --without-included-regex --enable-nls --enable-dependency-tracking --with-metalink --sysconfdir=${ROOTDIR}/build/etc --localedir=${ROOTDIR}/build/usr/share/locale --mandir=${ROOTDIR}/build/usr/share/man --infodir=${ROOTDIR}/build/usr/share/info --bindir=${ROOTDIR}/build/usr/bin make make install