mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-04 20:38:25 +02:00
* small fix for optimizer setting
* delete also script.res
This commit is contained in:
parent
ce43e79517
commit
a22c05827d
File diff suppressed because it is too large
Load Diff
@ -663,7 +663,7 @@ endif
|
||||
|
||||
# Release mode (strip, optimize and don't load ppc386.cfg)
|
||||
ifdef RELEASE
|
||||
ifeq (CPU_TARGET,i386)
|
||||
ifeq ($(CPU_TARGET),i386)
|
||||
FPCCPUOPT:=-OG2p3
|
||||
else
|
||||
FPCCPUOPT:=
|
||||
@ -677,10 +677,12 @@ ifdef STRIP
|
||||
override FPCOPT+=-Xs
|
||||
endif
|
||||
|
||||
# Optimizer
|
||||
# Optimizer (i386 only for now)
|
||||
ifdef OPTIMIZE
|
||||
ifeq ($(CPU_TARGET),i386)
|
||||
override FPCOPT+=-OG2p3
|
||||
endif
|
||||
endif
|
||||
|
||||
# Verbose settings (warning,note,info)
|
||||
ifdef VERBOSE
|
||||
@ -1189,7 +1191,7 @@ endif
|
||||
ifdef LIB_NAME
|
||||
-$(DEL) $(LIB_NAME) $(LIB_FULLNAME)
|
||||
endif
|
||||
-$(DEL) $(FPCMADE) Package.fpc $(PPAS) link.res $(FPCEXTFILE) $(REDIRFILE)
|
||||
-$(DEL) $(FPCMADE) Package.fpc $(PPAS) script.res link.res $(FPCEXTFILE) $(REDIRFILE)
|
||||
|
||||
fpc_distclean: clean
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user