ObjFW  Check-in [b87dab1361]

Overview
Comment:Don't use -static-libgcc on Windows

It has a tendency to break exceptions, as only TDM-GCC has patches to
make it work to use a .dll while statically linking libgcc.

While in the CLANG64 environment, this is not an issue, the upside of it
is minimal: It only statically links libunwind instead. While libgcc_s
contains some things that aren't always needed, what is provided by
libunwind is always needed.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b87dab136111b3344811095a7b48d5351e4f64c79fb92c9cb68750c5b6ef676e
User & Date: js on 2023-01-05 18:35:58
Other Links: manifest | tags
Context
2023-01-06
09:00
Update buildsys check-in: 31a2048479 user: js tags: trunk
2023-01-05
18:35
Don't use -static-libgcc on Windows check-in: b87dab1361 user: js tags: trunk
17:46
Remove fish completions check-in: 5f8ebdf8b0 user: js tags: trunk
Changes

Modified configure.ac from [af30c6b6de] to [ee213f3b30].

95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
	;;
*-msdosdjgpp*)
	enable_shared="no"
	enable_threads="no"
	enable_sockets="no"
	;;
*-*-mingw*)
	LDFLAGS="$LDFLAGS -Wl,--allow-multiple-definition -static-libgcc"
	LIBS="$LIBS -lversion"

	AC_SUBST(USE_SRCS_WINDOWS, '${SRCS_WINDOWS}')
	;;
*-psp-*)
	AS_IF([test x"$DEVKITPSP" = x""], [
		AC_MSG_ERROR([DEVKITPSP is not set! Please set DEVKITPSP.])







|







95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
	;;
*-msdosdjgpp*)
	enable_shared="no"
	enable_threads="no"
	enable_sockets="no"
	;;
*-*-mingw*)
	LDFLAGS="$LDFLAGS -Wl,--allow-multiple-definition"
	LIBS="$LIBS -lversion"

	AC_SUBST(USE_SRCS_WINDOWS, '${SRCS_WINDOWS}')
	;;
*-psp-*)
	AS_IF([test x"$DEVKITPSP" = x""], [
		AC_MSG_ERROR([DEVKITPSP is not set! Please set DEVKITPSP.])