Browse Source

build: fix a typo in the mingw configuration sequence in lol-build and

add set -e to the build-mingw scripts to catch possible regressions.
legacy
Sam Hocevar sam 13 years ago
parent
commit
53347d96e3
3 changed files with 4 additions and 2 deletions
  1. +1
    -0
      build-mingw
  2. +1
    -0
      build-mingw64
  3. +2
    -2
      build/lol-build

+ 1
- 0
build-mingw View File

@@ -3,6 +3,7 @@
# This can't hurt
make distclean

set -e
./build/lol-build bootstrap windows-i386
./build/lol-build configure windows-i386
./build/lol-build build windows-i386


+ 1
- 0
build-mingw64 View File

@@ -3,6 +3,7 @@
# This can't hurt
make distclean

set -e
./build/lol-build bootstrap windows-amd64
./build/lol-build configure windows-amd64
./build/lol-build build windows-amd64


+ 2
- 2
build/lol-build View File

@@ -57,7 +57,7 @@ configure()
cd $top_srcdir
case "$platform" in
windows-i386)
if test "x${SYSTEM}" = xMINGW32; then
if test "x${MSYSTEM}" = xMINGW32; then
:
elif i586-mingw32msvc-g++ --version >/dev/null 2>&1; then
HOSTFLAGS=--host=i586-mingw32msvc
@@ -73,7 +73,7 @@ configure()
LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-1.2.14/lib/i686-w64-mingw32"
;;
windows-amd64)
if test "x${SYSTEM}" = xMINGW64; then
if test "x${MSYSTEM}" = xMINGW64; then
:
elif x86_64-w64-mingw32-g++ --version >/dev/null 2>&1; then
HOSTFLAGS=--host=x86_64-w64-mingw32


Loading…
Cancel
Save