Changeset 952 for trunk/build


Ignore:
Timestamp:
Sep 14, 2011, 4:36:43 PM (9 years ago)
Author:
sam
Message:

build: do not set --build if not really cross-compiling (eg. building for
mingw64 on mingw32).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build/lol-build

    r949 r952  
    7575                false
    7676            fi
     77            if test "x${MSYSTEM}" = xMINGW64; then
     78                # If using mingw64, we're not really cross-compiling
     79                BUILDFLAGS=
     80            fi
    7781            PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PWD/contrib/gtkglarea-2.0.1/lib/pkgconfig"
    7882            LDFLAGS="$LDFLAGS -L$PWD/contrib/glew-1.7.0/lib/i686-w64-mingw32"
     
    9397                echo "Error: could not find win64 compiler" >&2
    9498                false
     99            fi
     100            if test "x${MSYSTEM}" = xMINGW32; then
     101                # If using mingw32, we're not really cross-compiling
     102                BUILDFLAGS=
    95103            fi
    96104            LDFLAGS="$LDFLAGS -L$PWD/contrib/glew-1.7.0/lib/x86_64-w64-mingw32"
Note: See TracChangeset for help on using the changeset viewer.