mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 16:45:56 +02:00
- removed FPC pre-2.1 optimization options
git-svn-id: trunk@44789 -
This commit is contained in:
parent
2355daf63f
commit
468c8fb820
@ -1349,18 +1349,8 @@ endif
|
||||
|
||||
# Release mode
|
||||
# (strip, optimize and don't load fpc.cfg)
|
||||
# fpc 2.1 has -O2 for all targets
|
||||
ifdef RELEASE
|
||||
ifneq ($(findstring 2.0.,$(FPC_VERSION)),)
|
||||
ifeq ($(CPU_TARGET),i386)
|
||||
FPCCPUOPT:=-OG2p3
|
||||
endif
|
||||
ifeq ($(CPU_TARGET),powerpc)
|
||||
FPCCPUOPT:=-O1r
|
||||
endif
|
||||
else
|
||||
FPCCPUOPT:=-O2
|
||||
endif
|
||||
override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
|
||||
override FPCOPTDEF+=RELEASE
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user