diff --git a/configure/os/CONFIG.Common.linux-386 b/configure/os/CONFIG.Common.linux-386 index 262f83457..063066f4d 100644 --- a/configure/os/CONFIG.Common.linux-386 +++ b/configure/os/CONFIG.Common.linux-386 @@ -10,11 +10,10 @@ # Include definitions common to all linux x86 targets include $(CONFIG)/os/CONFIG.Common.linux-x86 -VALID_BUILDS = Ioc - ARCH_DEP_CFLAGS = -march=i386 ifeq ($(BUILD_CLASS),CROSS) + VALID_BUILDS = Ioc GNU_TARGET=i386-pc-linux-gnu endif diff --git a/configure/os/CONFIG.Common.linux-486 b/configure/os/CONFIG.Common.linux-486 index 0cbd130f4..d3448419c 100644 --- a/configure/os/CONFIG.Common.linux-486 +++ b/configure/os/CONFIG.Common.linux-486 @@ -10,11 +10,10 @@ # Include definitions common to all linux x86 targets include $(CONFIG)/os/CONFIG.Common.linux-x86 -VALID_BUILDS = Ioc - ARCH_DEP_CFLAGS = -march=i486 ifeq ($(BUILD_CLASS),CROSS) + VALID_BUILDS = Ioc GNU_TARGET=i486-pc-linux-gnu endif diff --git a/configure/os/CONFIG.Common.linux-586 b/configure/os/CONFIG.Common.linux-586 index b94ebf458..3728f4555 100644 --- a/configure/os/CONFIG.Common.linux-586 +++ b/configure/os/CONFIG.Common.linux-586 @@ -10,12 +10,11 @@ # Include definitions common to all linux x86 targets include $(CONFIG)/os/CONFIG.Common.linux-x86 -VALID_BUILDS = Ioc - # i586 is euivalent to pentiumpro ARCH_DEP_CFLAGS = -march=i586 ifeq ($(BUILD_CLASS),CROSS) + VALID_BUILDS = Ioc GNU_TARGET=i586-pc-linux-gnu endif diff --git a/configure/os/CONFIG.Common.linux-686 b/configure/os/CONFIG.Common.linux-686 index 1b17a64e3..758a1168b 100644 --- a/configure/os/CONFIG.Common.linux-686 +++ b/configure/os/CONFIG.Common.linux-686 @@ -10,12 +10,11 @@ # Include definitions common to all linux x86 targets include $(CONFIG)/os/CONFIG.Common.linux-x86 -VALID_BUILDS = Ioc - # i686 is euivalent to pentiumpro ARCH_DEP_CFLAGS = -march=i686 ifeq ($(BUILD_CLASS),CROSS) + VALID_BUILDS = Ioc GNU_TARGET=i686-pc-linux-gnu endif diff --git a/configure/os/CONFIG.Common.linux-arm b/configure/os/CONFIG.Common.linux-arm index 35e71ddc3..31dae0b5e 100644 --- a/configure/os/CONFIG.Common.linux-arm +++ b/configure/os/CONFIG.Common.linux-arm @@ -9,14 +9,13 @@ # Include definitions common to all Linux targets include $(CONFIG)/os/CONFIG.Common.linuxCommon -VALID_BUILDS = Ioc - ARCH_CLASS = arm # Set a special definition for network order of Netwinder ARM floating point ARCH_DEP_CPPFLAGS += -D_ARM_NWFP_ ifeq ($(BUILD_CLASS),CROSS) + VALID_BUILDS = Ioc GNU_TARGET = arm-linux # prefix of compiler tools diff --git a/configure/os/CONFIG.Common.linux-athlon b/configure/os/CONFIG.Common.linux-athlon index 6c01433f8..46a4ca953 100644 --- a/configure/os/CONFIG.Common.linux-athlon +++ b/configure/os/CONFIG.Common.linux-athlon @@ -14,6 +14,7 @@ ARCH_DEP_CFLAGS += -march=athlon-mp -mfpmath=sse ifeq ($(BUILD_CLASS),CROSS) + VALID_BUILDS = Ioc GNU_TARGET=athlon-pc-linux-gnu endif