|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
802215 |
# set -o errexit -o noglob are assumed.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
pkg_mingw_w64_configure() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
802215 |
local _configure_args;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
if [ "${ARCH}" = nt32 ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
_configure_args="--host=i686-nt32-midipix";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
_configure_args="--host=x86_64-nt64-midipix";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
../${PKG_SUBDIR}/configure \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--disable-bootstrap \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--disable-libmudflap \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--disable-multilib \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--disable-nls \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--disable-obsolete \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--disable-sjlj-exceptions \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--disable-symvers \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-canonical-system-headers \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-__cxa_atexit \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-debug \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-gnu-indirect-function \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-gnu-unique-object \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-initfini-array \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-languages=c,c++,objc,lto \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-libstdcxx-debug \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-lto \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-multiarch \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-secureplt \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-shared \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--enable-threads=posix \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--prefix=${PREFIX} \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--target=${TARGET} \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--with-elf=${PKG_PREFIX} \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--with-fpmath=sse \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--with-gmp=${PKG_PREFIX} \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--with-mpc=${PKG_PREFIX} \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--with-mpfr=${PKG_PREFIX} \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
--with-sysroot=${PKG_PREFIX} \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
${_configure_args};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
dd33bf |
# vim:filetype=sh
|