Browse Source

fix detection of GCC

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

4
gcc/gcc.spec

@ -42,7 +42,7 @@ Class: CORE
Group: Compiler
License: GPL
Version: %{V_full}
Release: 20040426
Release: 20040427
# package options
%option with_cxx yes
@ -196,7 +196,7 @@ Provides: gcc = %{version}-%{release}
# determine build flags
l_ccisgcc=no
if [ ".`(%{l_cc} -v; %{l_cc} --version) </dev/null 2>/dev/null | grep 'gcc'`" != . ]; then
if [ ".`(%{l_cc} -v; %{l_cc} --version) </dev/null 2>&1 | grep -i 'gcc'`" != . ]; then
l_ccisgcc=yes
fi
l_cflags=""

Loading…
Cancel
Save