summaryrefslogtreecommitdiffhomepage
path: root/vars/mingw_w64.vars
blob: 0fd445c649ace2c4e43b009a028a4a256ef845a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# 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