M68K: Switch to new gcc options for specifying cpu

Latest gcc converts the old ones to the new ones anyway...
including when passing to gas, which of course is not new enough,
so we have to also force gcc to pass the old one around in one case.
This commit is contained in:
François Revol
2013-09-30 04:02:21 +02:00
parent ddb1aa7353
commit f7d6c2f8e5
2 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -376,8 +376,8 @@ rule KernelArchitectureSetup architecture
case m68k :
# We don't want to have to handle emulating missing FPU opcodes for
# 040 and 060 in the kernel.
HAIKU_KERNEL_CCFLAGS += -m68020-60 ;
HAIKU_KERNEL_C++FLAGS += -m68020-60 ;
HAIKU_KERNEL_CCFLAGS += -mtune=68020-60 ;
HAIKU_KERNEL_C++FLAGS += -mtune=68020-60 ;
case x86 :
HAIKU_KERNEL_CCFLAGS += -march=pentium ;
+4 -3
View File
@@ -20,7 +20,7 @@ KernelMergeObject arch_m68k_030.o :
#M68KPagingStructures030.cpp
#M68KVMTranslationMap030.cpp
: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused -m68030
: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused -mcpu=68030
;
KernelMergeObject arch_m68k_040.o :
@@ -33,12 +33,13 @@ KernelMergeObject arch_m68k_040.o :
M68KPagingStructures040.cpp
M68KVMTranslationMap040.cpp
: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused -m68040
: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused -mcpu=68040 -Wa,-m68040
;
KernelMergeObject arch_m68k_060.o :
arch_060.cpp
: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused -m68060
: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused -mcpu=68060
;
KernelMergeObject kernel_arch_m68k.o :