Browse Source

Finally make the damn regex grep portable. Last commit of this pig!

master
parent
commit
69fb1935c8
  1. 4
      pgp2/pgp2.spec

4
pgp2/pgp2.spec

@ -72,12 +72,12 @@ AutoReqProv: no
CFLAGS="%{l_cflags -O}"
case "%{l_target}" in
*-freebsd* )
if ( %{l_cc} --version | grep -i -e "gcc" ); then
if ( %{l_cc} --version | egrep -i -e "gcc" ); then
CFLAGS="$CFLAGS -pthread"
fi
;;
*-solaris* )
if ( %{l_cc} --version | grep -i -e "gcc" ); then
if ( %{l_cc} --version | egrep -i -e "gcc" ); then
CFLAGS="$CFLAGS -pthreads"
fi
;;

Loading…
Cancel
Save