summaryrefslogtreecommitdiff
path: root/Mkfiles/Makefile.bc3
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-09-12 04:33:58 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-09-12 04:33:58 +0000
commit628168c50264147e1b8b200833f25a4e166f5cd8 (patch)
treea7eca34d3c068b4cdb0d8e65758e940e5b02459a /Mkfiles/Makefile.bc3
parenta607d27eb9fb97d89f635fe0c7b579d0d053b272 (diff)
downloadnasm-628168c50264147e1b8b200833f25a4e166f5cd8.tar.gz
nasm-628168c50264147e1b8b200833f25a4e166f5cd8.tar.bz2
nasm-628168c50264147e1b8b200833f25a4e166f5cd8.zip
Fix Borland C++ optimization bug; add test for bad DOS binaries.
Diffstat (limited to 'Mkfiles/Makefile.bc3')
-rw-r--r--Mkfiles/Makefile.bc35
1 files changed, 3 insertions, 2 deletions
diff --git a/Mkfiles/Makefile.bc3 b/Mkfiles/Makefile.bc3
index 80049ac..d0453d1 100644
--- a/Mkfiles/Makefile.bc3
+++ b/Mkfiles/Makefile.bc3
@@ -27,13 +27,14 @@
CC = bcc #compiler
# opimizations
-OPTFLAGS = -d -O1 -Ogmpv -k-
+OPTFLAGS = -d -O1 -Ogmp -k-
# -d = merge duplicate strings
# -O1 = optimize for size
# -Og = enable global common subexpression elimination
# -Om = enable loop invariant removal
# -Op = enable constant propagation
- # -Ov = enable strength-reduction optimization
+ # ** WARNING: DO NOT ENABLE -Ov (strength reduction) ON BORLAND C++ 3.1 **
+ # ** NASM IS KNOWN TO MISCOMPILE WITH -Ov **
# -k- = omit stack frames where practical
#output formats
OUTFORMS = -DOF_ONLY -DOF_BIN -DOF_OBJ -DOF_WIN32 -DOF_AS86