250
251
252
253
254
255
256
257
258
259
260
261
262
263
|
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*-*-*)
flag="-integrated-as"
OBJCFLAGS="$OBJCFLAGS $flag"
OBJFW_OBJCFLAGS="$OBJFW_OBJCFLAGS $flag"
;;
dnl Clang's assembler on Windows is not complete yet
dnl and cannot compile all .S files.
*-*-mingw*)
ASFLAGS="$ASFLAGS -no-integrated-as"
;;
dnl Clang generates assembly output on SPARC64 that
|
>
>
>
>
>
>
>
>
|
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
|
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*-*-*)
flag="-integrated-as"
OBJCFLAGS="$OBJCFLAGS $flag"
OBJFW_OBJCFLAGS="$OBJFW_OBJCFLAGS $flag"
;;
dnl Don't use -no-integrated-as on Darwin. It breaks
dnl building for the iOS simulator.
i?86-*-darwin* | x86_64-*-darwin*)
;;
dnl Many older Clang versions don't support jmp short.
i?86-*-* | x86_64-*-*)
ASFLAGS="$ASFLAGS -no-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"
;;
dnl Clang generates assembly output on SPARC64 that
|