mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-25 22:01:33 +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
|
||||
auto)
|
||||
case "${host_cpu}" in
|
||||
case "${target_cpu}" in
|
||||
i?86)
|
||||
MORE_CFLAGS="-march=${host_cpu}"
|
||||
MORE_CFLAGS="-march=${target_cpu}"
|
||||
;;
|
||||
*)
|
||||
MORE_CFLAGS=""
|
||||
|
|
Loading…
Reference in a new issue