mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 18:46:29 +00:00
In config add switch OARCH for optimze build for the cpu you want
for rule.mak remove hardcoding of optimze build for cpu. -march=i486 to -march=$(OARCH) svn path=/trunk/; revision=10876
This commit is contained in:
parent
8523764fef
commit
e75c574ed1
2 changed files with 13 additions and 1 deletions
|
@ -5,6 +5,18 @@
|
||||||
# Possible values in the future: alpha,i386,m68k,mips,powerpc
|
# Possible values in the future: alpha,i386,m68k,mips,powerpc
|
||||||
ARCH := i386
|
ARCH := i386
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Which cpu should reactos optimze for
|
||||||
|
# example : i486, i586, pentium, pentium2, pentum3, pentium4
|
||||||
|
# athlond-xp, athlond-mp, k6-2,
|
||||||
|
#
|
||||||
|
# see gcc manual for more cpu name and which cpu it can
|
||||||
|
# be optimze for.
|
||||||
|
#
|
||||||
|
|
||||||
|
OARCH := i486
|
||||||
|
|
||||||
#
|
#
|
||||||
# Whether to compile in the kernel debugger
|
# Whether to compile in the kernel debugger
|
||||||
#
|
#
|
||||||
|
|
|
@ -136,7 +136,7 @@ export BIN2RES = $(Q)$(TOOLS_PATH)/bin2res/bin2res
|
||||||
export XSLTPROC = $(Q)xsltproc
|
export XSLTPROC = $(Q)xsltproc
|
||||||
export MS2PS = $(Q)$(TOOLS_PATH)/ms2ps/ms2ps
|
export MS2PS = $(Q)$(TOOLS_PATH)/ms2ps/ms2ps
|
||||||
|
|
||||||
export STD_CFLAGS = -I$(PATH_TO_TOP)/include -I$(W32API_PATH)/include -pipe -march=i486 -D_M_IX86
|
export STD_CFLAGS = -I$(PATH_TO_TOP)/include -I$(W32API_PATH)/include -pipe -march=$(OARCH) -D_M_IX86
|
||||||
export STD_CPPFLAGS = $(STD_CFLAGS)
|
export STD_CPPFLAGS = $(STD_CFLAGS)
|
||||||
export STD_ASFLAGS = -I$(PATH_TO_TOP)/include -I$(W32API_PATH)/include -D__ASM__ -D_M_IX86
|
export STD_ASFLAGS = -I$(PATH_TO_TOP)/include -I$(W32API_PATH)/include -D__ASM__ -D_M_IX86
|
||||||
export STD_RCFLAGS = --include-dir $(PATH_TO_TOP)/include --include-dir $(W32API_PATH)/include
|
export STD_RCFLAGS = --include-dir $(PATH_TO_TOP)/include --include-dir $(W32API_PATH)/include
|
||||||
|
|
Loading…
Reference in a new issue