diff options
author | Nikolai Merinov <n.merinov@samsung.com> | 2019-01-31 16:55:48 +0300 |
---|---|---|
committer | Nikolai Merinov <n.merinov@samsung.com> | 2019-01-31 16:55:48 +0300 |
commit | 2dda87d6ff1e7fdbff70c99568ceff3148831db4 (patch) | |
tree | 2ac0612f459276a38dce63ad4a2e64ccfbbc12cd | |
parent | 46a0aa70a35939815807200bf1fa20c40eb70a8f (diff) | |
download | lzo-sandbox/nmerinov/llvm.tar.gz lzo-sandbox/nmerinov/llvm.tar.bz2 lzo-sandbox/nmerinov/llvm.zip |
Replace hardcoded gcc with CCsandbox/nmerinov/llvm
-rw-r--r-- | packaging/lzo.spec | 4 |
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 |