Skip to content

Commit

Permalink
Include major version in Amiga .library name
Browse files Browse the repository at this point in the history
FossilOrigin-Name: e1bc8746520fe7983c135ce8d63bb5149e4e53c288e09e807c635ba2690859d9
  • Loading branch information
Midar committed May 2, 2021
1 parent a9f2382 commit 4ba1eca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ m68k-*-amigaos*)
supports_amiga_lib="yes"

AS_IF([test x"$enable_amiga_lib" != x"no"], [
AC_SUBST(OBJFWRT_AMIGA_LIB, objfwrt68k.library)
AC_SUBST(OBJFWRT_AMIGA_LIB,
['objfwrt${OBJFWRT_LIB_MAJOR}.library'])
dnl For 68000, GCC emits calls to helper functions that
dnl do not work properly in a library.
t="-mcpu=68020 -fbaserel -noixemul -ffreestanding"
Expand Down Expand Up @@ -80,7 +81,8 @@ powerpc-*-amigaos*)
supports_amiga_lib="yes"

AS_IF([test x"$enable_amiga_lib" != x"no"], [
AC_SUBST(OBJFWRT_AMIGA_LIB, objfwrt.library)
AC_SUBST(OBJFWRT_AMIGA_LIB,
['objfwrt${OBJFW_LIB_MAJOR}ppc.library'])
t="-mresident32 -ffreestanding -noixemul"
AC_SUBST(AMIGA_LIB_CFLAGS, $t)
t="-mresident32 -nostartfiles -nodefaultlibs -noixemul -ldebug"
Expand Down

0 comments on commit 4ba1eca

Please sign in to comment.