mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:29:27 +02:00
* eliminate optimisations if RELEASE on if not for i386 cpu
This commit is contained in:
parent
105b7ae809
commit
2990981dbc
File diff suppressed because it is too large
Load Diff
@ -663,7 +663,12 @@ endif
|
||||
|
||||
# Release mode (strip, optimize and don't load ppc386.cfg)
|
||||
ifdef RELEASE
|
||||
override FPCOPT+=-Xs -OG2p3 -n
|
||||
ifeq (CPU_TARGET,i386)
|
||||
FPCCPUOPT:=-OG2p3
|
||||
else
|
||||
FPCCPUOPT:=
|
||||
endif
|
||||
override FPCOPT+=-Xs $(FPCCPUOPT) -n
|
||||
override FPCOPTDEF+=RELEASE
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user