ObjFW  Check-in [894a87f823]

Overview
Comment:Support SjLj C++ EH on Darwin with ObjFW runtime
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 894a87f8236f09bf01e87a3f6c14af4eb993f3b63b3b66695410fbe89f3fe199
User & Date: js on 2016-08-15 00:07:39
Other Links: manifest | tags
Context
2016-08-21
14:00
OFURL: Do not URL decode and reencode parts check-in: 516517deb3 user: js tags: trunk
2016-08-15
00:07
Support SjLj C++ EH on Darwin with ObjFW runtime check-in: 894a87f823 user: js tags: trunk
2016-08-08
02:29
Fix one forgotten rename check-in: cce8073769 user: js tags: trunk
Changes

Modified configure.ac from [eb47444f58] to [a9bba7291c].

404
405
406
407
408
409
410

411




412
413
414
415
416
417
418
case "$host_os" in
	darwin*)
		AC_SUBST(LDFLAGS_REEXPORT, ["-Wl,-reexport-lobjfw"])
		AS_IF([test x"$objc_runtime" = x"Apple runtime"], [
			AC_SUBST(REEXPORT_LIBOBJC, ["-Wl,-reexport-lobjc"])
		])
		AS_IF([test x"$objc_runtime" = x"ObjFW runtime"], [

			LDFLAGS="$LDFLAGS -Wl,-U,___gxx_personality_v0"




		])
		;;
esac

AC_C_BIGENDIAN([
	AC_DEFINE(OF_BIG_ENDIAN, 1, [Whether we are big endian])
])







>
|
>
>
>
>







404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
case "$host_os" in
	darwin*)
		AC_SUBST(LDFLAGS_REEXPORT, ["-Wl,-reexport-lobjfw"])
		AS_IF([test x"$objc_runtime" = x"Apple runtime"], [
			AC_SUBST(REEXPORT_LIBOBJC, ["-Wl,-reexport-lobjc"])
		])
		AS_IF([test x"$objc_runtime" = x"ObjFW runtime"], [
			AS_IF([test x"$exception_type" = x"DWARF"], [
				LDFLAGS="$LDFLAGS -Wl,-U,___gxx_personality_v0"
			])
			AS_IF([test x"$exception_type" = x"SjLj"], [
				LDFLAGS="$LDFLAGS -Wl,-U,___gxx_personality_sj0"
			])
		])
		;;
esac

AC_C_BIGENDIAN([
	AC_DEFINE(OF_BIG_ENDIAN, 1, [Whether we are big endian])
])