aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorWalter van Niftrik2009-03-28 23:47:14 +0000
committerWalter van Niftrik2009-03-28 23:47:14 +0000
commit5c020b9efe575107c6d07af31e1dbe0739db0dd4 (patch)
tree69bc3a93d6f82975034ca4d1df15c64091cb102e /configure
parent1b356fe5435374e85d5b782252dea293b40667d0 (diff)
downloadscummvm-rg350-5c020b9efe575107c6d07af31e1dbe0739db0dd4.tar.gz
scummvm-rg350-5c020b9efe575107c6d07af31e1dbe0739db0dd4.tar.bz2
scummvm-rg350-5c020b9efe575107c6d07af31e1dbe0739db0dd4.zip
Fix bug #2684645: AMIGAOS: Build breaks in "base/commandline".
svn-id: r39730
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure b/configure
index 319f11d92d..220f0c07c4 100755
--- a/configure
+++ b/configure
@@ -1113,7 +1113,7 @@ case $_host_os in
DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
;;
amigaos*)
- CXXFLAGS="$CFLAGS -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400"
+ CXXFLAGS="$CXXFLAGS -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400"
LDFLAGS="$LDFLAGS -mcrt=newlib -use-dynld -Lsobjs:"
type_1_byte='char'
type_2_byte='short'
@@ -1214,8 +1214,6 @@ if test -n "$_host"; then
type_1_byte='char'
type_2_byte='short'
type_4_byte='long'
- CXXFLAGS="$CFLAGS -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400"
- LDFLAGS="$LDFLAGS -mcrt=newlib -use-dynld -Lsobjs:"
;;
m68k-atari-mint)
echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
@@ -1895,7 +1893,7 @@ if test "$_cxx_major" -ge "3" ; then
case $_host_os in
# newlib-based system include files suppress non-C89 function
# declarations under __STRICT_ANSI__
- mingw* | cygwin* | dreamcast | wii | gamecube | psp)
+ mingw* | cygwin* | dreamcast | wii | gamecube | psp | amigaos*)
CXXFLAGS="$CXXFLAGS -W -Wno-unused-parameter"
;;
*)