kernel: Only apply rtl-stv1 hack to x86 & x86_64

Change-Id: I971f7bf3bb95ee466a59ab777c2f6fc56fbcbd43
This commit is contained in:
Alexander von Gluck IV 2018-06-14 13:07:52 -05:00 committed by waddlesplash
parent 4f7b9506fd
commit 64d4515abf

View File

@ -75,7 +75,8 @@ KernelMergeObject kernel_core.o :
: $(TARGET_KERNEL_PIC_CCFLAGS)
;
if $(HAIKU_GCC_VERSION_$(TARGET_PACKAGING_ARCH)[1]) >= 7 {
if $(HAIKU_GCC_VERSION_$(TARGET_PACKAGING_ARCH)[1]) >= 7
&& ( $(TARGET_ARCH) = x86 || $(TARGET_ARCH) = x86_64 ) {
# With the rtl-stv1 pass on these files, the kernel panics towards the end
# of the boot process with a "General Protection Exception", see
# https://dev.haiku-os.org/ticket/14160. The pass itself vectorizes