Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone
Blob Blame History Raw
#
# set -o errexit -o noglob are assumed.
#

pkg_mingw_w64_configure() {
	local _configure_args;
	if [ "${ARCH}" = nt32 ]; then
		_configure_args="--host=i686-nt32-midipix";
	else
		_configure_args="--host=x86_64-nt64-midipix";
	fi;
	../${PKG_SUBDIR}/configure			\
		--disable-bootstrap			\
		--disable-libmudflap			\
		--disable-multilib			\
		--disable-nls				\
		--disable-obsolete			\
		--disable-sjlj-exceptions		\
		--disable-symvers			\
		--enable-canonical-system-headers	\
		--enable-__cxa_atexit			\
		--enable-debug				\
		--enable-gnu-indirect-function		\
		--enable-gnu-unique-object		\
		--enable-initfini-array			\
		--enable-languages=c,c++,objc,lto	\
		--enable-libstdcxx-debug		\
		--enable-lto				\
		--enable-multiarch			\
		--enable-secureplt			\
		--enable-shared				\
		--enable-threads=posix			\
		--prefix=${PREFIX}			\
		--target=${TARGET}			\
		--with-elf=${PKG_PREFIX}		\
		--with-fpmath=sse			\
		--with-gmp=${PKG_PREFIX}		\
		--with-mpc=${PKG_PREFIX}		\
		--with-mpfr=${PKG_PREFIX}		\
		--with-sysroot=${PKG_PREFIX}		\
		${_configure_args};
};

# vim:filetype=sh