From 4db8ab34ab48dbe906d68f9e056b3295cbfbc3a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 21 Jun 2019 13:36:08 +0300 Subject: [PATCH] sed: allow __cc to contain paths --- Firebird.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firebird.spec b/Firebird.spec index 08a4fd8..1769609 100644 --- a/Firebird.spec +++ b/Firebird.spec @@ -210,7 +210,7 @@ cp %{SOURCE1} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} # not processed by configure %{__sed} -i -e 's/^CFLAGS.*$/& %{rpmcflags} %{rpmcppflags}/' extern/btyacc/Makefile -%{__sed} -i -e 's/^\(CC\|LINKER\)\(.*= \)gcc$/\1\2 %{__cc}/' extern/btyacc/Makefile +%{__sed} -i -e 's;^\(CC\|LINKER\)\(.*= \)gcc$;\1\2 %{__cc};' extern/btyacc/Makefile %build %{__libtoolize} -- 2.43.0