aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-07-07 02:29:32 +0000
committerlloyd <[email protected]>2008-07-07 02:29:32 +0000
commit4c50d289cc8a60e7798c9a22bbea1a0a848d9948 (patch)
tree96c218f6868cb6093324c77bb92cf3bf6c9407dd /misc
parent4364f4dfd6773be47dbb94af424b1cacc251d682 (diff)
Set -march=<submodel> for x86-64 processors, and delete the bit of code
setting the -march for Core2 processors to nocona, instead use core2, which is GCC 4.3-specific. I expect that by the time Botan 1.8 is released GCC 4.3 will be relatively widespread.
Diffstat (limited to 'misc')
-rw-r--r--misc/config/cc/gcc4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/config/cc/gcc b/misc/config/cc/gcc
index e94b9a9c5..c69905a3f 100644
--- a/misc/config/cc/gcc
+++ b/misc/config/cc/gcc
@@ -45,14 +45,14 @@ alpha-ev7 -> "-mcpu=ev6"
ppc601 -> "-mpowerpc -mcpu=601"
sparc64-ultra3 -> "-mcpu=v9 -mtune=ultrasparc3"
-core2duo -> "-march=nocona -momit-leaf-frame-pointer"
+core2duo -> "-march=core2 -momit-leaf-frame-pointer"
em64t -> "-march=nocona -momit-leaf-frame-pointer"
# Default family options (SUBMODEL is substitued with the real submodel)
# Anything after the quotes is what should be *removed* from the submodel name
# before it's put into SUBMODEL.
alpha -> "-mcpu=SUBMODEL" alpha-
-amd64 -> "-momit-leaf-frame-pointer"
+amd64 -> "-march=SUBMODEL -momit-leaf-frame-pointer"
arm -> "-mcpu=SUBMODEL"
ia32 -> "-march=SUBMODEL -momit-leaf-frame-pointer"
ia64 -> "-mtune=SUBMODEL"