Differences From Artifact [241a907951]:
- File
configure.ac
— part of check-in
[8b2107e238]
at
2017-01-07 22:58:15
on branch trunk
— Use -Wl,--allow-multiple-definition on Windows
Clang does not use this by default, while it seems that GCC does. (user: js, size: 34878) [annotate] [blame] [check-ins using]
To Artifact [26942c5c25]:
- File configure.ac — part of check-in [6b43f91448] at 2017-01-07 23:03:19 on branch trunk — Use -no-integrated-as on Windows (user: js, size: 35056) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
117 118 119 120 121 122 123 | ]) CPP="$OBJCPP" CPPFLAGS="$CPPFLAGS $OBJCPPFLAGS" OBJCFLAGS="$OBJCFLAGS -Wall -fexceptions -fobjc-exceptions -funwind-tables" OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstantString" | < < < < | > > > > > | > > > > > | 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | ]) CPP="$OBJCPP" CPPFLAGS="$CPPFLAGS $OBJCPPFLAGS" OBJCFLAGS="$OBJCFLAGS -Wall -fexceptions -fobjc-exceptions -funwind-tables" OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstantString" case "$OBJC" in *clang*) case "$host" in dnl Clang generates MIPS assembly not accepted by GNU dnl as, however, Clang's integrated assembler doesn't dnl accept everything used in ObjFW's assembly files. dnl Therefore, use the integrated assembler for ObjC dnl files, but not for assembly files. mips*-*-*) OBJCFLAGS="$OBJCFLAGS -integrated-as" AC_SUBST(INTEGRATED_AS, "-integrated-as") ;; dnl Clang's assembler on Windows is not complete yet dnl and cannot compile all .S files. *-*-mingw*) ASFLAGS="$ASFLAGS -no-integrated-as" ;; esac ;; esac AX_CHECK_COMPILER_FLAGS(-std=gnu11, [ OBJCFLAGS="$OBJCFLAGS -std=gnu11" |
︙ | ︙ |