summaryrefslogtreecommitdiff
path: root/packaging/lzo.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/lzo.spec')
-rw-r--r--packaging/lzo.spec4
1 files changed, 2 insertions, 2 deletions
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