ObjFW  Diff

Differences From 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]

To Artifact [3a3536d48e]:


1518
1519
1520
1521
1522
1523
1524













1525
1526
1527
1528
1529
1530
1531
		], [], [
			AC_MSG_RESULT(no)
		], [
			AC_MSG_RESULT(yes)
			OBJCFLAGS="$old_OBJCFLAGS"
		])
	])













])

AS_IF([test x"$cross_compiling" = x"yes"], [
	AC_SUBST(BIN_PREFIX, "${host_alias}-")

	case "$host" in
		*-*-mingw*)







>
>
>
>
>
>
>
>
>
>
>
>
>







1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
		], [], [
			AC_MSG_RESULT(no)
		], [
			AC_MSG_RESULT(yes)
			OBJCFLAGS="$old_OBJCFLAGS"
		])
	])

	AC_MSG_CHECKING(whether we need -Wno-gnu-imaginary-constant)
	AC_TRY_COMPILE([
		#include <complex.h>
	], [
		complex float f = 0.5 + 0.5 * I;
		(void)f;
	], [
		AC_MSG_RESULT(no)
	], [
		AC_MSG_RESULT(yes)
		OBJCFLAGS="$OBJCFLAGS -Wno-gnu-imaginary-constant"
	])
])

AS_IF([test x"$cross_compiling" = x"yes"], [
	AC_SUBST(BIN_PREFIX, "${host_alias}-")

	case "$host" in
		*-*-mingw*)