repo.or.cz
/
cygwin-setup.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Translated using Weblate (Chinese (Simplified))
[cygwin-setup.git]
/
packaging-scripts
/
conf.sh
blob
9af7a792615397d179da89ac087e3a3afd0fa0f3
1
#!/bin/bash -e
2
3
TARGET
=
${1:-upx}
4
ARCHES
=
${2:-i686 x86_64}
5
6
function
arch
() {
7
cpu
=
$1
8
rm
-rf
$cpu
9
mkdir
$cpu
10
cd
$cpu
11
12
NOCONFIGURE
=
1
..
/
bootstrap.sh
--host
=
$cpu
-w64-mingw32
13
..
/
configure
--host
=
$cpu
-w64-mingw32 --target
=
$cpu
-w64-mingw32
14
15
make
${TARGET}
16
17
cd
..
18
}
19
20
for
ARCH
in
${ARCHES}
;
do
21
arch
${ARCH}
22
done