Overview
Comment: | configure: Fix -O2 being dropped from OBJCFLAGS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
ae2aa3ef798c46c1efd229d5190a1b00 |
User & Date: | js on 2018-05-05 17:05:06 |
Other Links: | manifest | tags |
Context
2018-05-05
| ||
17:46 | runtime: Work around compiler bug in Amiga library check-in: dff419362e user: js tags: trunk | |
17:05 | configure: Fix -O2 being dropped from OBJCFLAGS check-in: ae2aa3ef79 user: js tags: trunk | |
15:57 | runtime: Make exceptions work in Amiga library check-in: 1cae2c720c user: js tags: trunk | |
Changes
Modified configure.ac from [3670da2152] to [cb4bd9cd36].
︙ | ︙ | |||
21 22 23 24 25 26 27 | AS_HELP_STRING([--with-ixemul], [build with ixemul])) dnl Used to disable checking for -pedantic on some platforms where it's broken check_pedantic="yes" case "$host" in m68k-*-amigaos*) | > | > > > | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | AS_HELP_STRING([--with-ixemul], [build with ixemul])) dnl Used to disable checking for -pedantic on some platforms where it's broken check_pedantic="yes" case "$host" in m68k-*-amigaos*) AS_IF([test x"$OBJCFLAGS" != x""], [ OBJCFLAGS="$OBJCFLAGS -noixemul" ], [ OBJCFLAGS="-O2 -g -noixemul" ]) LDFLAGS="$LDFLAGS -noixemul" enable_shared="no" enable_threads="no" enable_sockets="no" enable_files="yes" # Required for reading ENV: ac_cv_snprintf_useful_ret="yes" |
︙ | ︙ | |||
52 53 54 55 56 57 58 | ;; powerpc-*-amigaos*) enable_shared="no" enable_threads="no" ;; *-morphos*) AS_IF([test x"$with_ixemul" != x"yes"], [ | > | > > > | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | ;; powerpc-*-amigaos*) enable_shared="no" enable_threads="no" ;; *-morphos*) AS_IF([test x"$with_ixemul" != x"yes"], [ AS_IF([test x"$OBJCFLAGS" != x""], [ OBJCFLAGS="$OBJCFLAGS -noixemul" ], [ OBJCFLAGS="-O2 -g -noixemul" ]) LDFLAGS="$LDFLAGS -noixemul" enable_files="yes" # Required for reading ENV: AC_SUBST(NOIXEMUL, -noixemul) AC_SUBST(OBJFW_RT_AMIGA_LIB, objfw_rt.library) AC_SUBST(OBJFW_RT_AMIGA_LINKLIB, libobjfw_rt.linklib.a) AC_SUBST(OBJFW_RT_INLINE_H, ObjFW_RT_inline.h) |
︙ | ︙ | |||
84 85 86 87 88 89 90 | ;; *-psp-*) AS_IF([test x"$DEVKITPSP" = x""], [ AC_MSG_ERROR( [DEVKITPSP is not set! Please set DEVKITPSP.]) ]) | > | > > > | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | ;; *-psp-*) AS_IF([test x"$DEVKITPSP" = x""], [ AC_MSG_ERROR( [DEVKITPSP is not set! Please set DEVKITPSP.]) ]) AS_IF([test x"$OBJCFLAGS" != x""], [ OBJCFLAGS="$OBJCFLAGS -G0" ], [ OBJCFLAGS="-O2 -G0" ]) CPPFLAGS="$CPPFLAGS -I$DEVKITPSP/psp/sdk/include" LDFLAGS="$LDFLAGS -G0" LIBS="$LIBS -L$DEVKITPSP/psp/sdk/lib -lpspdebug -lpspdisplay" LIBS="$LIBS -lpspge -lpspctrl -lpspsdk -lc -lpspnet" LIBS="$LIBS -lpspnet_inet -lpspnet_apctl -lpspnet_resolver" LIBS="$LIBS -lpsputility -lpspuser -lpspkernel -lgcc -lpsplibc" enable_shared="no" |
︙ | ︙ |