mirror of https://github.com/deadw00d/AROS.git
use -mgeneral-regs-only in the kernel isa flags to ensure sse code is not generated in the kernel
This commit is contained in:
parent
8ae92b7f1a
commit
68a5dbe797
|
@ -8946,7 +8946,8 @@ aros_warn_flags=
|
|||
aros_isa_extra=
|
||||
aros_isa_flags=
|
||||
aros_module_isa_flags=
|
||||
aros_kernel_isaflags=
|
||||
aros_kernel_isa_flags=
|
||||
aros_kernel_isa_extra=
|
||||
aros_config_cppflags=
|
||||
aros_config_cflags=
|
||||
aros_config_cxxflags=
|
||||
|
@ -9783,6 +9784,7 @@ case "$target_os" in
|
|||
aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
|
||||
aros_isa_flags="$""(ISA_X8664_FLAGS)"
|
||||
aros_module_isa_flags=-ffixed-r12
|
||||
aros_kernel_isa_extra="-mgeneral-regs-only"
|
||||
x86_64_isa_extra="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
|
||||
aros_config_cflags="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
|
||||
aros_config_cxxflags="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
|
||||
|
@ -16250,7 +16252,7 @@ if test "$kernel_tool_prefix" = "none" ; then
|
|||
aros_kernel_strip=$orig_target_strip
|
||||
aros_kernel_objcopy=$orig_target_objcopy
|
||||
aros_kernel_objdump=$orig_target_objdump
|
||||
aros_kernel_isa_flags=$aros_isa_flags
|
||||
aros_kernel_isa_flags="$aros_isa_flags $aros_kernel_isa_extra"
|
||||
use_kernel_cc_wrapper=yes
|
||||
fi
|
||||
|
||||
|
|
|
@ -808,7 +808,8 @@ aros_warn_flags=
|
|||
aros_isa_extra=
|
||||
aros_isa_flags=
|
||||
aros_module_isa_flags=
|
||||
aros_kernel_isaflags=
|
||||
aros_kernel_isa_flags=
|
||||
aros_kernel_isa_extra=
|
||||
aros_config_cppflags=
|
||||
aros_config_cflags=
|
||||
aros_config_cxxflags=
|
||||
|
@ -1292,6 +1293,7 @@ case "$target_os" in
|
|||
aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
|
||||
aros_isa_flags="$""(ISA_X8664_FLAGS)"
|
||||
aros_module_isa_flags=-ffixed-r12
|
||||
aros_kernel_isa_extra="-mgeneral-regs-only"
|
||||
x86_64_isa_extra="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
|
||||
aros_config_cflags="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
|
||||
aros_config_cxxflags="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
|
||||
|
@ -2698,7 +2700,7 @@ if test "$kernel_tool_prefix" = "none" ; then
|
|||
aros_kernel_strip=$orig_target_strip
|
||||
aros_kernel_objcopy=$orig_target_objcopy
|
||||
aros_kernel_objdump=$orig_target_objdump
|
||||
aros_kernel_isa_flags=$aros_isa_flags
|
||||
aros_kernel_isa_flags="$aros_isa_flags $aros_kernel_isa_extra"
|
||||
use_kernel_cc_wrapper=yes
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue