From 2dda87d6ff1e7fdbff70c99568ceff3148831db4 Mon Sep 17 00:00:00 2001 From: Nikolai Merinov Date: Thu, 31 Jan 2019 16:55:48 +0300 Subject: Replace hardcoded gcc with CC --- packaging/lzo.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packaging') diff --git a/packaging/lzo.spec b/packaging/lzo.spec index af8e19f..5eccbd9 100644 --- a/packaging/lzo.spec +++ b/packaging/lzo.spec @@ -60,8 +60,8 @@ cp %{SOURCE1001} . %__make %{?_smp_mflags} # build minilzo too (bz 439979) -gcc %{optflags} -O2 -g -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c -gcc -g -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o +${CC:-gcc} %{optflags} -O2 -g -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c +${CC:-gcc} -g -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o %install %make_install -- cgit v1.2.3