diff options
| author | Andre Heider | 2009-03-27 14:12:42 +0000 |
|---|---|---|
| committer | Andre Heider | 2009-03-27 14:12:42 +0000 |
| commit | 32495abc384d043d6717e55053aac17e2a746a46 (patch) | |
| tree | b3793de14b1cb9d5b2e08a05b20d379388d057d1 /configure | |
| parent | 07d3ae07aca1ca7c7d6437365c04e061d6a6eb43 (diff) | |
| download | scummvm-rg350-32495abc384d043d6717e55053aac17e2a746a46.tar.gz scummvm-rg350-32495abc384d043d6717e55053aac17e2a746a46.tar.bz2 scummvm-rg350-32495abc384d043d6717e55053aac17e2a746a46.zip | |
Improved configure support for the GP2X port.
svn-id: r39708
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -784,6 +784,7 @@ ppc-amigaos) gp2x) _host_os=gp2x-linux _host_cpu=arm + _host_alias=arm-open2x-linux ;; i586-mingw32msvc) _host_os=mingw32msvc @@ -1177,16 +1178,21 @@ if test -n "$_host"; then ;; gp2x) echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes" - DEFINES="$DEFINES -DUNIX -DGP2X -DUSE_ARM_SMUSH_ASM" + DEFINES="$DEFINES -DUNIX -DGP2X -DNDEBUG -DUSE_ARM_SMUSH_ASM" + CXXFLAGS="$CXXFLAGS -march=armv4t" + LDFLAGS="$LDFLAGS -static" _endian=little _need_memalign=yes type_1_byte='char' type_2_byte='short' type_4_byte='int' + _ar="$_host_alias-ar cru" + _ranlib=$_host_alias-ranlib add_line_to_config_mk 'USE_ARM_SOUND_ASM = 1' add_line_to_config_mk 'USE_ARM_SMUSH_ASM = 1' _backend="gp2x" _build_hq_scalers="no" + _mt32emu="no" ;; neuros) echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes" |
