Change -march=pentium4 to -march=pentium3 when CPUTYPE==p4, because gcc 3.2 is
known to produce broken code with -march=pentium4. Add a note explaining this. This should be removed when we update to gcc 3.3 or the bug is otherwise fixed. Approved by: re
This commit is contained in:
parent
91665c5c32
commit
b1aff8bff1
@ -50,7 +50,9 @@ _CPUCFLAGS = -march=${CPUTYPE}
|
||||
. elif ${CPUTYPE} == "k5"
|
||||
_CPUCFLAGS = -march=pentium
|
||||
. elif ${CPUTYPE} == "p4"
|
||||
_CPUCFLAGS = -march=pentium4
|
||||
# gcc 3.2 is known to produce broken code with -march=pentium4, so it is
|
||||
# disabled for now. This is fixed in gcc 3.3.
|
||||
_CPUCFLAGS = -march=pentium3
|
||||
. elif ${CPUTYPE} == "p3"
|
||||
_CPUCFLAGS = -march=pentium3
|
||||
. elif ${CPUTYPE} == "p2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user