summaryrefslogtreecommitdiff
path: root/solenv/inc/unxlngi.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-05 11:34:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 11:34:38 +0000
commitdff40cc62cdf256f7f2facf63f3eddfa0b400f68 (patch)
treefe4cc38bc9409bee44343044c5db20591d29dd76 /solenv/inc/unxlngi.mk
parent79fd100c9cb688e656b4cc081927328df00538db (diff)
-matom only available with gcc 4.5.0 or above
Diffstat (limited to 'solenv/inc/unxlngi.mk')
-rw-r--r--solenv/inc/unxlngi.mk4
1 files changed, 4 insertions, 0 deletions
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