kernel: TARGET_PACKAGING_ARCH not HAIKU_ARCH for present compiler arch.

HAIKU_ARCH is CPU architecture. Sorry for the noise...
This commit is contained in:
waddlesplash 2018-05-22 20:41:32 -04:00
parent 3d5f8b7ccf
commit 77d1e4fd44

View File

@ -75,7 +75,7 @@ KernelMergeObject kernel_core.o :
: $(TARGET_KERNEL_PIC_CCFLAGS)
;
if $(HAIKU_GCC_VERSION_$(HAIKU_ARCH)[1]) >= 7 {
if $(HAIKU_GCC_VERSION_$(TARGET_PACKAGING_ARCH)[1]) >= 7 {
# 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