ObjFW  Check-in [9510e204b4]

Overview
Comment:Use -lmath on MorphOS for .library

Converting a double to an int64_t requires helper functions on 32-bit
PowerPC.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | amiga-library
Files: files | file ages | folders
SHA3-256: 9510e204b4f7cbf2e252ee360decd28c222fbfabc68d1418b57f044d0fc540b0
User & Date: js on 2020-12-19 13:46:21
Other Links: branch diff | manifest | tags
Context
2020-12-19
14:44
Don't build encodings twice for Amiga .library check-in: 82e9c435fe user: js tags: amiga-library
13:46
Use -lmath on MorphOS for .library check-in: 9510e204b4 user: js tags: amiga-library
10:25
Amiga library: Add __(de)register_frame symbol check-in: 3c100bc6a7 user: js tags: amiga-library
Changes

Modified configure.ac from [abc6800372] to [7547bf67ed].

90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105

		AS_IF([test x"$enable_amiga_lib" != x"no"], [
			AC_SUBST(OBJFW_AMIGA_LIB, objfw.library)
			AC_SUBST(OBJFWRT_AMIGA_LIB, objfwrt.library)
			AC_SUBST(CVINCLUDE_INLINE_H, inline.h)
			t="-mresident32 -ffreestanding -noixemul"
			AC_SUBST(AMIGA_LIB_CFLAGS, $t)
			t="-mresident32 -nostartfiles -nodefaultlibs"
			t="$t -noixemul -lc"
			AC_SUBST(AMIGA_LIB_LDFLAGS, $t)
		])

		AC_SUBST(LIBBASES_M, libbases.m)
		;;
	*-msdosdjgpp*)
		enable_shared="no"







|
|







90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105

		AS_IF([test x"$enable_amiga_lib" != x"no"], [
			AC_SUBST(OBJFW_AMIGA_LIB, objfw.library)
			AC_SUBST(OBJFWRT_AMIGA_LIB, objfwrt.library)
			AC_SUBST(CVINCLUDE_INLINE_H, inline.h)
			t="-mresident32 -ffreestanding -noixemul"
			AC_SUBST(AMIGA_LIB_CFLAGS, $t)
			t="-mresident32 -nostartfiles -nodefaultlibs -noixemul"
			t="$t -lmath -lc"
			AC_SUBST(AMIGA_LIB_LDFLAGS, $t)
		])

		AC_SUBST(LIBBASES_M, libbases.m)
		;;
	*-msdosdjgpp*)
		enable_shared="no"