ソースを参照

make gcc sun4v-aware

Christoph Schug 19 年 前
コミット
18687f1252
2 ファイル変更6 行追加6 行削除
  1. 3 3
      gcc41/gcc41.spec
  2. 3 3
      gcc42/gcc42.spec

+ 3 - 3
gcc41/gcc41.spec

@@ -37,7 +37,7 @@ Class:        EVAL
 Group:        Compiler
 License:      GPL
 Version:      %{V_full}
-Release:      20060309
+Release:      20060424
 
 #   package options
 %option       with_cxx       yes
@@ -212,8 +212,8 @@ Provides:     gcc = %{version}-%{release}
     l_cflags="$l_cflags -O"
     l_boot_cflags="$l_boot_cflags -O2 -fomit-frame-pointer"
     case "%{l_platform -t}" in
-        *i?86-*  ) l_boot_cflags="$l_boot_cflags -mtune=pentium3" ;;
-        *sun4u-* ) l_boot_cflags="$l_boot_cflags -mtune=v9"       ;;
+        *i?86-*     ) l_boot_cflags="$l_boot_cflags -mtune=pentium3" ;;
+        *sun4[uv]-* ) l_boot_cflags="$l_boot_cflags -mtune=v9"       ;;
     esac
     l_libcxxflags="$l_libcxxflags -O2 -fno-implicit-templates"
 %else

+ 3 - 3
gcc42/gcc42.spec

@@ -38,7 +38,7 @@ Class:        EVAL
 Group:        Compiler
 License:      GPL
 Version:      %{V_full}s%{V_snap}
-Release:      20060423
+Release:      20060424
 
 #   package options
 %option       with_cxx       yes
@@ -213,8 +213,8 @@ Provides:     gcc = %{version}-%{release}
     l_cflags="$l_cflags -O"
     l_boot_cflags="$l_boot_cflags -O2 -fomit-frame-pointer"
     case "%{l_platform -t}" in
-        *i?86-*  ) l_boot_cflags="$l_boot_cflags -mtune=pentium3" ;;
-        *sun4u-* ) l_boot_cflags="$l_boot_cflags -mtune=v9"       ;;
+        *i?86-*     ) l_boot_cflags="$l_boot_cflags -mtune=pentium3" ;;
+        *sun4[uv]-* ) l_boot_cflags="$l_boot_cflags -mtune=v9"       ;;
     esac
     l_libcxxflags="$l_libcxxflags -O2 -fno-implicit-templates"
 %else