OpenWatcom: optimize for 686
authorH. Peter Anvin <hpa@zytor.com>
Sat, 16 Feb 2008 23:44:24 +0000 (15:44 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 16 Feb 2008 23:44:24 +0000 (15:44 -0800)
Apparently -6 compiles are defined to run on anything 386 or newer,
and just use different instruction timings.

Mkfiles/openwcom.mak
Mkfiles/owlinux.mak

index efbf977..1c5e202 100644 (file)
@@ -15,7 +15,7 @@ mandir                = $(prefix)\man
 
 CC             = wcl386
 DEBUG          = 
-CFLAGS         = -3 -ox -wx -ze -fpi $(DEBUG)
+CFLAGS         = -6 -ox -wx -ze -fpi $(DEBUG)
 BUILD_CFLAGS   = $(CFLAGS) $(TARGET_FLAGS) # -I$(srcdir)/inttypes
 INTERNAL_CFLAGS = -I$(srcdir) -I. -DHAVE_SNPRINTF -DHAVE_VSNPRINTF
 ALL_CFLAGS     = $(BUILD_CFLAGS) $(INTERNAL_CFLAGS)
index 170162c..05cd023 100644 (file)
@@ -29,7 +29,7 @@ mandir                = $(prefix)/man
 
 CC             = wcl386
 DEBUG          = 
-CFLAGS         = -3 -ox -wx -ze -fpi $(DEBUG)
+CFLAGS         = -6 -ox -wx -ze -fpi $(DEBUG)
 BUILD_CFLAGS   = $(CFLAGS) $(TARGET_FLAGS) # -I$(srcdir)/inttypes
 INTERNAL_CFLAGS = -I$(srcdir) -I. \
                  -DHAVE_SNPRINTF -DHAVE_VSNPRINTF