Differences From Artifact [b0a12988ad]:
- File
configure.ac
— part of check-in
[3eab631674]
at
2016-01-05 22:45:01
on branch trunk
— configure: Disable compiler TLS on Android/AArch64
Compiler TLS on Android/AArch64 is currently broken with Clang and the
GCC from the NDK has ObjC disabled, so there is currently no way to use
compiler TLS on Android/AArch64. (user: js, size: 29907) [annotate] [blame] [check-ins using]
To Artifact [7f36bd5e2a]:
- File
configure.ac
— part of check-in
[7be7df381d]
at
2016-02-21 20:36:58
on branch trunk
— configure: Add --with-3ds
This adds the flags necessary to compile for Nintendo 3DS. (user: js, size: 30710) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
84 85 86 87 88 89 90 91 92 93 94 95 96 97 | enable_sockets="no" # TODO check_pedantic="no" AC_DEFINE(OF_NINTENDO_DS, 1, [Whether we are compiling for the Nintendo DS]) AC_SUBST(MAP_LDFLAGS, ['-Wl,-Map,$@.map']) ]) CPP="$OBJCPP" CPPFLAGS="$CPPFLAGS $OBJCPPFLAGS" OBJCFLAGS="$OBJCFLAGS -Wall -fexceptions -fobjc-exceptions -funwind-tables" OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstantString" dnl Clang generates MIPS assembly not accepted by GNU as, however, Clang's | > > > > > > > > > > > > > > > > > > > > > > > | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | enable_sockets="no" # TODO check_pedantic="no" AC_DEFINE(OF_NINTENDO_DS, 1, [Whether we are compiling for the Nintendo DS]) AC_SUBST(MAP_LDFLAGS, ['-Wl,-Map,$@.map']) ]) AC_ARG_WITH(3ds, AS_HELP_STRING([--with-3ds], [build for Nintendo 3DS])) AS_IF([test x"$with_3ds" = x"yes"], [ AS_IF([test x"$DEVKITPRO" = x""], [ AC_MSG_ERROR([DEVKITPRO is not set! Please set DEVKITPRO.]) ]) OBJCFLAGS="$OBJCFLAGS -march=armv6k -mtune=mpcore -mfloat-abi=hard" OBJCFLAGS="$OBJCFLAGS -mtp=soft -mword-relocations" CPPFLAGS="$CPPFLAGS -DARM11 -I$DEVKITPRO/libctru/include" LDFLAGS="$LDFLAGS -specs=3dsx.specs -march=armv6k -mtune=mpcore" LDFLAGS="$LDFLAGS -mfloat-abi=hard -mtp=soft -mword-relocations" LIBS="$LIBS -L$DEVKITPRO/libctru/lib -lctru" enable_shared="no" enable_threads="no" # TODO enable_sockets="no" # TODO check_pedantic="no" AC_DEFINE(OF_NINTENDO_3DS, 1, [Whether we are compiling for the Nintendo 3DS]) AC_SUBST(MAP_LDFLAGS, ['-Wl,-Map,$@.map']) ]) CPP="$OBJCPP" CPPFLAGS="$CPPFLAGS $OBJCPPFLAGS" OBJCFLAGS="$OBJCFLAGS -Wall -fexceptions -fobjc-exceptions -funwind-tables" OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstantString" dnl Clang generates MIPS assembly not accepted by GNU as, however, Clang's |
︙ | ︙ |