From f48c625cb17653c519bfe1683ef7426f4dc38433 Mon Sep 17 00:00:00 2001 From: Janet Anderson Date: Fri, 19 Aug 2011 15:57:06 -0500 Subject: [PATCH] Added -mtune=generic cflag. Changed -m32 to OP_SYS flags. --- configure/os/CONFIG.Common.linux-x86 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure/os/CONFIG.Common.linux-x86 b/configure/os/CONFIG.Common.linux-x86 index f5157dc13..755d2b5ec 100644 --- a/configure/os/CONFIG.Common.linux-x86 +++ b/configure/os/CONFIG.Common.linux-x86 @@ -12,9 +12,11 @@ include $(CONFIG)/os/CONFIG.Common.linuxCommon ARCH_CLASS = x86 +ARCH_DEP_CFLAGS = -mtune=generic ARCH_DEP_CPPFLAGS += -D_X86_ -ARCH_DEP_CFLAGS += -m32 -ARCH_DEP_LDFLAGS += -m32 + +OP_SYS_CFLAGS += -m32 +OP_SYS_LDFLAGS += -m32 # If your crosscompiler name has a GNU target prefix like -gcc, # e.g. x86-redhat-linux-gcc, put a GNU_TARGET definition in