summaryrefslogtreecommitdiff
path: root/hints/amigaos.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/amigaos.sh')
-rw-r--r--hints/amigaos.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/hints/amigaos.sh b/hints/amigaos.sh
index 9d86e52bc0..fff55b082c 100644
--- a/hints/amigaos.sh
+++ b/hints/amigaos.sh
@@ -22,15 +22,20 @@ 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=' '
# compiler & linker flags
+# Respect command-line values.
-ccflags='-DAMIGAOS -mstackextend'
-ldflags=''
-optimize='-O2 -fomit-frame-pointer'
+ccflags="$ccflags -DAMIGAOS -mstackextend"
+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'