Define "I386_CPU" if CPUTYPE is 'i386'. Userland bits can check for "I386_CPU"
to determine if they should select code paths suitable for the 80386 CPU. Suggested by: ru
This commit is contained in:
parent
80f7b487a1
commit
d41f6f569c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136697
@ -100,6 +100,9 @@ _ICC_CPUCFLAGS = -tpp5
|
||||
. else
|
||||
_ICC_CPUCFLAGS =
|
||||
. endif # ICC on 'i386'
|
||||
. if ${CPUTYPE} == "i386"
|
||||
CFLAGS += -DI386_CPU
|
||||
. endif
|
||||
. elif ${MACHINE_ARCH} == "alpha"
|
||||
_CPUCFLAGS = -mcpu=${CPUTYPE}
|
||||
. elif ${MACHINE_ARCH} == "amd64"
|
||||
|
Loading…
Reference in New Issue
Block a user