Browse Source

bugfix with_binutils dynamic value lookup

master
parent
commit
cee06da1db
  1. 4
      gcc/gcc.spec

4
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

Loading…
Cancel
Save