Overview
Comment: | configure: Prefix Clang-only flags with -Xclang
This is required for systems for which Clang does not know how to call |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
670184b60b804ace958c35a6559b99d4 |
User & Date: | js on 2018-06-17 17:51:30 |
Other Links: | manifest | tags |
Context
2018-06-17
| ||
18:23 | configure: Check for pthread_attr_getschedpolicy() check-in: 839745fa85 user: js tags: trunk | |
17:51 | configure: Prefix Clang-only flags with -Xclang check-in: 670184b60b user: js tags: trunk | |
16:32 | ofarc: Add LHA write and append support check-in: bf8788d709 user: js tags: trunk | |
Changes
Modified configure.ac from [c10c411671] to [e02fcf3101].
︙ | |||
233 234 235 236 237 238 239 | 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | - - - + + + | AX_CHECK_COMPILER_FLAGS(-std=gnu99, [OBJCFLAGS="$OBJCFLAGS -std=gnu99"]) ]) ]) AX_CHECK_COMPILER_FLAGS(-pipe, [OBJCFLAGS="$OBJCFLAGS -pipe"]) AX_CHECK_COMPILER_FLAGS(-fno-common, [OBJCFLAGS="$OBJCFLAGS -fno-common"]) |
︙ | |||
414 415 416 417 418 419 420 | 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 | - + | "ObjFW runtime") AC_DEFINE(OF_OBJFW_RUNTIME, 1, [Whether we use the ObjFW runtime]) AC_MSG_CHECKING([whether -fobjc-runtime=objfw is supported]) old_OBJCFLAGS="$OBJCFLAGS" |
︙ | |||
444 445 446 447 448 449 450 | 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 | - + | void __objc_exec_class(void *module) { } ], [ [Test test]; ], [ |
︙ | |||
898 899 900 901 902 903 904 | 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 | + - - + + | case "$host_os" in mingw*) AC_MSG_RESULT(WinAPI) ;; *) AC_MSG_RESULT(POSIX) dnl Use -Wp, as we only use it for the preprocessor. |
︙ | |||
1477 1478 1479 1480 1481 1482 1483 | 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 | - + - + | ]) dnl This needs to be after all other header checks, as they include unistd.h, dnl which in old glibc versions uses __block. This is worked around in the code dnl by providing a wrapper for unistd.h which takes care of this. AC_MSG_CHECKING(whether Objective C compiler supports blocks) old_OBJCFLAGS="$OBJCFLAGS" |
︙ |