Bug 330628 – coreconf/Linux.mk should _not_ default to x86 but result in an error if host is not recognized. r=relyea

This commit is contained in:
Mike Hommey 2008-08-14 12:46:08 +02:00
parent ff866e61e5
commit 1a1f597ba4

View File

@ -117,8 +117,13 @@ ifeq ($(OS_TEST),mips)
OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
CPU_ARCH = mips
else
ifeq (,$(filter-out i686 i586 i486 i386,$(OS_TEST)))
OS_REL_CFLAGS = -DLINUX1_2 -Di386 -D_XOPEN_SOURCE
CPU_ARCH = x86
else
OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
CPU_ARCH = $(OS_TEST)
endif
endif
endif
endif