From dff40cc62cdf256f7f2facf63f3eddfa0b400f68 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 5 Dec 2010 11:34:38 +0000 Subject: -matom only available with gcc 4.5.0 or above --- solenv/inc/unxlngi.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'solenv/inc/unxlngi.mk') diff --git a/solenv/inc/unxlngi.mk b/solenv/inc/unxlngi.mk index d86aab185d0e..8c6c540e86bc 100644 --- a/solenv/inc/unxlngi.mk +++ b/solenv/inc/unxlngi.mk @@ -27,7 +27,11 @@ # mk file for Unix Linux Intel (X86) using GCC, please make generic modifications to unxlng.mk CDEFAULTOPT=-Os +.IF "$(GCCNUMVER)" >= "000400050000" +ARCH_FLAGS*=-mtune=atom +.ELSE ARCH_FLAGS*=-mtune=pentiumpro +.ENDIF .INCLUDE : unxlng.mk CDEFS+=-DX86 DLLPOST=.so -- cgit