From 4fe84887cc063fd0be9c6d8dfa55100057b7440f Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 4 Nov 2017 19:09:48 -0500 Subject: BUILD: Update flags for compiling on FreeMiNT --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 62560d6662..b70dba8093 100755 --- a/configure +++ b/configure @@ -2053,7 +2053,7 @@ if test "$have_gcc" = yes ; then case $_host_os in # newlib-based system include files suppress non-C89 function # declarations under __STRICT_ANSI__ - 3ds | amigaos* | android | androidsdl | dreamcast | ds | gamecube | mingw* | n64 | psp | ps2 | ps3 | psp2 | tizen | wii | wince ) + 3ds | amigaos* | android | androidsdl | dreamcast | ds | gamecube | mingw* | mint* | n64 | psp | ps2 | ps3 | psp2 | tizen | wii | wince ) ;; *) append_var CXXFLAGS "-ansi" @@ -2757,6 +2757,8 @@ case $_host_os in ;; mint*) append_var DEFINES "-DSYSTEM_NOT_SUPPORTING_D_TYPE" + append_var DEFINES "-D_GNU_SOURCE" + append_var DEFINES "-D_ISOC11_SOURCE" ;; msys) echo ERROR: Using the MSYS shell in msys mode is not supported. Please use the MSYS shell in mingw mode instead. @@ -3154,10 +3156,8 @@ if test -n "$_host"; then _timidity=no ;; m68k-atari-mint) - append_var DEFINES "-DSYSTEM_NOT_SUPPORTING_D_TYPE" - _ranlib=m68k-atari-mint-ranlib - _ar="m68k-atari-mint-ar cru" _seq_midi=no + _timidity=no ;; maemo) _optimization_level=-Os -- cgit v1.2.3