فهرست منبع

bugfix with_binutils dynamic value lookup

Ralf S. Engelschall 23 سال پیش
والد
کامیت
cee06da1db
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      gcc/gcc.spec

+ 2 - 2
gcc/gcc.spec

@@ -36,7 +36,7 @@
 %define       with_optimize  yes
 %endif
 %ifndef       with_binutils
-%define       with_binutils  %(sh %{SOURCE gcc.sh} require-binutils %{l_target})
+%define       with_binutils  %(if [ -f %{SOURCE gcc.sh} ]; then sh %{SOURCE gcc.sh} require-binutils %{l_target}; else echo "no"; fi)
 %endif
 
 #   package information
@@ -49,7 +49,7 @@ Distribution: OpenPKG [REL]
 Group:        Language
 License:      GPL
 Version:      %{V_short}
-Release:      20020808
+Release:      20020809
 
 #   list of sources
 Source0:      ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_long}/gcc-%{V_long}.tar.bz2