File: mingw32-configure.sh

package info (click to toggle)
enigma 1.20-dfsg.1-2.2
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 64,696 kB
  • sloc: xml: 153,614; cpp: 63,581; ansic: 31,088; sh: 4,825; makefile: 1,858; yacc: 288; perl: 84; sed: 16
file content (21 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

export CC="ccache i586-mingw32msvc-gcc"
# export CXX=i586-mingw32msvc-g++
export CXX="ccache i586-mingw32msvc-g++"
export CXXFLAGS="-g0"
export RANLIB=i586-mingw32msvc-ranlib
export AR=i586-mingw32msvc-ar
export WINDRES=i586-mingw32msvc-windres
export STRIP=i586-mingw32msvc-strip
cd ..
make distclean
PATH=/usr/i586-mingw32msvc/bin:$PATH \
	./configure \
	--host=i586-mingw32msvc \
	--target=i586-mingw32msvc \
	--build=i586-linux \
	--enable-optimize \
	AR=i586-mingw32msvc-ar \
	$*