mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 13:49:39 +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)
|
# Release mode (strip, optimize and don't load ppc386.cfg)
|
||||||
ifdef RELEASE
|
ifdef RELEASE
|
||||||
override FPCOPT+=-Xs -OG2p3 -n
|
ifeq (CPU_TARGET,i386)
|
||||||
|
FPCCPUOPT:=-OG2p3
|
||||||
|
else
|
||||||
|
FPCCPUOPT:=
|
||||||
|
endif
|
||||||
|
override FPCOPT+=-Xs $(FPCCPUOPT) -n
|
||||||
override FPCOPTDEF+=RELEASE
|
override FPCOPTDEF+=RELEASE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user