aboutsummaryrefslogtreecommitdiff
path: root/auto/cc/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'auto/cc/gcc')
-rw-r--r--auto/cc/gcc5
1 files changed, 5 insertions, 0 deletions
diff --git a/auto/cc/gcc b/auto/cc/gcc
index 46b0aabb9..2e5906a75 100644
--- a/auto/cc/gcc
+++ b/auto/cc/gcc
@@ -57,6 +57,11 @@ case $CPU in
CPU_OPT="-march=pentium4"
;;
+ opteron)
+ # optimize for Opteron, gcc 3.x
+ CPU_OPT="-march=opteron"
+ ;;
+
sparc64)
# build 64-bit UltraSparc binary
CPU_OPT="-m64"