Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/auto/cc
diff options
context:
space:
mode:
Diffstat (limited to 'auto/cc')
-rw-r--r--auto/cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/auto/cc b/auto/cc
index 68159b505..b05df7669 100644
--- a/auto/cc
+++ b/auto/cc
@@ -1,4 +1,7 @@
+# Copyright (C) Igor Sysoev
+
+
CFLAGS="$CFLAGS $CC_OPT"
case $CC in
@@ -25,6 +28,12 @@ case $CC in
# optimize for Pentium 4, gcc 3.x
CPU_OPT="-march=pentium4"
;;
+
+ sparc64)
+ # build 64-bit binary, sparcv9 only
+ CPU_OPT="-m64"
+ ;;
+
esac
# STUB for batch builds