X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Famigaos.sh;h=c5ba6ff5919d6448269068fa5ba78e1b986bc312;hb=8ed30cc1e47085c3ae66654e63971dec45c27ca8;hp=9d86e52bc03ca0758526b9a8e173a30da47f521e;hpb=dfe9444ca7881e716e9e8feaf20b55da491363ca;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/amigaos.sh b/hints/amigaos.sh index 9d86e52..c5ba6ff 100644 --- a/hints/amigaos.sh +++ b/hints/amigaos.sh @@ -7,13 +7,11 @@ archname='m68k-amigaos' cc='gcc' firstmakefile='GNUmakefile' usenm='true' +d_fork='undef' # available but ENOSYS usemymalloc='n' -usevfork='true' useperlio='true' d_eofnblk='define' -d_fork='undef' -d_vfork='define' groupstype='int' # libs @@ -22,15 +20,21 @@ libpth="$prefix/lib /local/lib" glibpth="$libpth" xlibpth="$libpth" +# This should remove unwanted libraries instead of limiting the set +# to just these few. E.g. what about Berkeley DB? libswanted='gdbm m dld' so=' ' +libs='-lm' # compiler & linker flags +# Respect command-line values. -ccflags='-DAMIGAOS -mstackextend' -ldflags='' -optimize='-O2 -fomit-frame-pointer' +ccflags="$ccflags -DAMIGAOS" +case "$optimize" in +'') optimize='-O2 -fomit-frame-pointer';; +esac dlext='o' +# Are these two different from the defaults? cccdlflags='none' ccdlflags='none' lddlflags='-oformat a.out-amiga -r'