summaryrefslogtreecommitdiff
path: root/hints/os2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/os2.sh')
-rw-r--r--hints/os2.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/os2.sh b/hints/os2.sh
index c442a08086..adbb7f120e 100644
--- a/hints/os2.sh
+++ b/hints/os2.sh
@@ -189,6 +189,15 @@ nm_opt='-p'
d_getprior='define'
d_setprior='define'
+# Make denser object files and DLL
+case "X$optimize" in
+ X)
+ optimize="-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2"
+ lddlflags="$lddlflags -s" # Strip symbol table
+ aout_ldflags="$aout_ldflags -s" # Strip symbol table
+ ;;
+esac
+
####### All the rest is commented
# The next two are commented. pdksh handles #!