Define LSOF_CC to system CC sandbox/nmerinov/llvm
authorNikolai Merinov <n.merinov@samsung.com>
Thu, 31 Jan 2019 13:46:31 +0000 (16:46 +0300)
committerNikolai Merinov <n.merinov@samsung.com>
Thu, 31 Jan 2019 13:46:31 +0000 (16:46 +0300)
packaging/lsof.spec

index 9abbcf7..fe25c8a 100644 (file)
@@ -21,7 +21,7 @@ UNIX system.
 cp %{SOURCE1001} .
 
 %build
-LSOF_VSTR=2.6.16 LINUX_BASE=/proc ./Configure -n linux
+LSOF_CC="${CC:-gcc}" LSOF_VSTR=2.6.16 LINUX_BASE=/proc ./Configure -n linux
 
 make DEBUG="%{optflags}" %{?_smp_mflags}