Overview
Comment: | Work around OpenBSD 6.2 not linking the unwinder
OpenBSD 6.2 switched to Clang as the primary compiler on i386 and amd64. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
58d916c643f1e200dd4d9b0beb71de92 |
User & Date: | js on 2017-12-27 03:08:01 |
Other Links: | manifest | tags |
Context
2017-12-27
| ||
15:44 | Work around OpenBSD defining I via GNU extension check-in: c791f77d8c user: js tags: trunk | |
03:08 | Work around OpenBSD 6.2 not linking the unwinder check-in: 58d916c643 user: js tags: trunk | |
2017-12-23
| ||
22:08 | OFURLHandler: Add -[openItemAtURL:mode:] check-in: b7c19f2e27 user: js tags: trunk | |
Changes
Modified configure.ac from [1919a82c3d] to [a7b20bcede].
︙ | ︙ | |||
68 69 70 71 72 73 74 75 76 77 78 79 80 81 | AC_LANG([Objective C]) AC_PROG_OBJC([clang egcc gcc]) AC_PROG_OBJCPP AC_PROG_LN_S AC_PROG_INSTALL AC_PROG_EGREP AC_ARG_WITH(wii, AS_HELP_STRING([--with-wii], [build for Wii])) AS_IF([test x"$with_wii" = x"yes"], [ AS_IF([test x"$DEVKITPRO" = x""], [ AC_MSG_ERROR([DEVKITPRO is not set! Please set DEVKITPRO.]) ]) | > > > > > > > > > > > > > > | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | AC_LANG([Objective C]) AC_PROG_OBJC([clang egcc gcc]) AC_PROG_OBJCPP AC_PROG_LN_S AC_PROG_INSTALL AC_PROG_EGREP case "$host" in dnl OpenBSD 6.2 switched to clang for i386 and AMD64, and clang does no dnl longer link in libgcc. Unwinding is unfortunately in libc++abi, so dnl we need that. We add -pthread as libc++abi requires threads. i386-*-openbsd6.[[23456789]] | i386-*-openbsd[[789]].* | \ x86_64-*-openbsd6.[[23456789]] | x86_64-*-openbsd[[789]].*) case "$OBJC" in *clang*) LIBS="$LIBS -lc++abi -pthread" ;; esac ;; esac AC_ARG_WITH(wii, AS_HELP_STRING([--with-wii], [build for Wii])) AS_IF([test x"$with_wii" = x"yes"], [ AS_IF([test x"$DEVKITPRO" = x""], [ AC_MSG_ERROR([DEVKITPRO is not set! Please set DEVKITPRO.]) ]) |
︙ | ︙ |