Overview
Comment: | configure: Use -integrated-as on Clang/MIPS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
47ddf24d413a766df4ff2784996082db |
User & Date: | js on 2015-10-17 19:47:11 |
Other Links: | manifest | tags |
Context
2015-10-17
| ||
22:50 | Add +[OFSystemInfo supportsMXU] check-in: 7399e9b249 user: js tags: trunk | |
19:47 | configure: Use -integrated-as on Clang/MIPS check-in: 47ddf24d41 user: js tags: trunk | |
17:27 | Add +[OFSystemInfo supportsAltiVec] check-in: ffdba49764 user: js tags: trunk | |
Changes
Modified configure.ac from [b259f434b5] to [947e3f1ffd].
︙ | ︙ | |||
89 90 91 92 93 94 95 96 97 98 99 100 101 102 | 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" AX_CHECK_COMPILER_FLAGS(-std=gnu11, [ OBJCFLAGS="$OBJCFLAGS -std=gnu11" ], [ AX_CHECK_COMPILER_FLAGS(-std=gnu1x, [ OBJCFLAGS="$OBJCFLAGS -std=gnu1x" ], [ | > > > > > > > > > > > > > > > | 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 | 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 dnl integrated assembler doesn't accept everything used in ObjFW's assembly dnl files. Therefore, use the integrated assembler for ObjC files, but not for dnl assembly files. case "$OBJC" in *clang*) case "$host_cpu" in mips*) OBJCFLAGS="$OBJCFLAGS -integrated-as" AC_SUBST(INTEGRATED_AS, "-integrated-as") ;; esac ;; esac AX_CHECK_COMPILER_FLAGS(-std=gnu11, [ OBJCFLAGS="$OBJCFLAGS -std=gnu11" ], [ AX_CHECK_COMPILER_FLAGS(-std=gnu1x, [ OBJCFLAGS="$OBJCFLAGS -std=gnu1x" ], [ |
︙ | ︙ |
Modified utils/objfw-config.in from [8b34782ddf] to [97d8e610a0].
︙ | ︙ | |||
18 19 20 21 22 23 24 | prefix="@prefix@" exec_prefix="@exec_prefix@" libdir="@libdir@" CFLAGS="" CPPFLAGS="-I@includedir@" CXXFLAGS="" OBJC="@OBJC@" | | | | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | prefix="@prefix@" exec_prefix="@exec_prefix@" libdir="@libdir@" CFLAGS="" CPPFLAGS="-I@includedir@" CXXFLAGS="" OBJC="@OBJC@" OBJCFLAGS="@INTEGRATED_AS@ @RUNTIME_FLAGS@ -fexceptions -fobjc-exceptions" OBJCFLAGS="$OBJCFLAGS -funwind-tables -fconstant-string-class=OFConstantString" OBJCFLAGS="$OBJCFLAGS @NO_CONST_CFSTRINGS@ @BLOCKS_FLAGS@ @NO_WARN_UNUSED@" LIB_CFLAGS="@LIB_CFLAGS@" LIB_LDFLAGS="@LIB_LDFLAGS@" LIB_PREFIX="@LIB_PREFIX@" LIB_SUFFIX="@LIB_SUFFIX@" LDFLAGS="" LDFLAGS_REEXPORT="@LDFLAGS_REEXPORT@" |
︙ | ︙ |