Differences From Artifact [1919a82c3d]:
- File configure.ac — part of check-in [d9f6da2eab] at 2017-10-19 23:11:49 on branch trunk — Change Info.plists to make the App Store happy (user: js, size: 39602) [annotate] [blame] [check-ins using] [more...]
To Artifact [a7b20bcede]:
- File
configure.ac
— part of check-in
[58d916c643]
at
2017-12-27 03:08:01
on branch trunk
— Work around OpenBSD 6.2 not linking the unwinder
OpenBSD 6.2 switched to Clang as the primary compiler on i386 and amd64.
This switch also means that their clang no longer links in libgcc,
meaning it links in no unwinder. The unwinder is now in libc++abi, which
we now need to link in manually, alongside with pthreads, as libc++abi
depends on pthreads. (user: js, size: 40040) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
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.]) ]) |
︙ | ︙ |