fix and enable i386 support
This gives ~5K size reduction with bc3.1. Today no one uses pre-i386 CPUs so there is no good reason against having an extra optimization.
This commit is contained in:
parent
8187fd8153
commit
44cf0a17a1
4
config.b
4
config.b
@ -105,9 +105,9 @@ set XUPX=upx --8086 --best
|
|||||||
:* select your default target: required CPU and what FAT system to support
|
:* select your default target: required CPU and what FAT system to support
|
||||||
:**********************************************************************
|
:**********************************************************************
|
||||||
|
|
||||||
set XCPU=86
|
:- set XCPU=86
|
||||||
:- set XCPU=186
|
:- set XCPU=186
|
||||||
:- set XCPU=386
|
set XCPU=386
|
||||||
|
|
||||||
:- set XFAT=16
|
:- set XFAT=16
|
||||||
set XFAT=32
|
set XFAT=32
|
||||||
|
4
config.m
4
config.m
@ -52,9 +52,9 @@ XUPX=upx --8086 --best
|
|||||||
# select your default target: required CPU and what FAT system to support
|
# select your default target: required CPU and what FAT system to support
|
||||||
#*********************************************************************
|
#*********************************************************************
|
||||||
|
|
||||||
XCPU=86
|
# XCPU=86
|
||||||
# XCPU=186
|
# XCPU=186
|
||||||
# XCPU=386
|
XCPU=386
|
||||||
|
|
||||||
# XFAT=16
|
# XFAT=16
|
||||||
XFAT=32
|
XFAT=32
|
||||||
|
@ -9,9 +9,11 @@ TARGETOPT=-1-
|
|||||||
|
|
||||||
!if $(XCPU) == 186
|
!if $(XCPU) == 186
|
||||||
TARGETOPT=-1
|
TARGETOPT=-1
|
||||||
|
ALLCFLAGS=$(ALLCFLAGS) -DI186
|
||||||
!endif
|
!endif
|
||||||
!if $(XCPU) == 386
|
!if $(XCPU) == 386
|
||||||
TARGETOPT=-3
|
TARGETOPT=-3
|
||||||
|
ALLCFLAGS=$(ALLCFLAGS) -DI386
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if $(XFAT) == 32
|
!if $(XFAT) == 32
|
||||||
|
Loading…
Reference in New Issue
Block a user