mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 15:41:59 +00:00
target_cpu is much more appropriate for -march than host_cpu
This commit is contained in:
parent
318a407fc6
commit
8306859b49
1 changed files with 2 additions and 2 deletions
|
@ -1325,9 +1325,9 @@ if test "x$optimize" = xyes; then
|
||||||
)
|
)
|
||||||
case "$arch" in
|
case "$arch" in
|
||||||
auto)
|
auto)
|
||||||
case "${host_cpu}" in
|
case "${target_cpu}" in
|
||||||
i?86)
|
i?86)
|
||||||
MORE_CFLAGS="-march=${host_cpu}"
|
MORE_CFLAGS="-march=${target_cpu}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
MORE_CFLAGS=""
|
MORE_CFLAGS=""
|
||||||
|
|
Loading…
Reference in a new issue