From 5c020b9efe575107c6d07af31e1dbe0739db0dd4 Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Sat, 28 Mar 2009 23:47:14 +0000 Subject: Fix bug #2684645: AMIGAOS: Build breaks in "base/commandline". svn-id: r39730 --- configure | 6 ++---- 1 file 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" ;; *) -- cgit v1.2.3