[CentOS] rpmbuild annoyance

Gordon Messmer gordon.messmer at gmail.com
Tue Mar 22 21:14:39 UTC 2016


On 03/22/2016 01:20 PM, m.roth at 5-cent.us wrote:
> gcc: %__global_ldflags: No such file or directory

Sounds like a broken spec.  __global_ldflags isn't always defined, so it 
should be conditionally referenced.  IIRC, use %{?__global_ldflags} 
instead of %{__global_ldflags}



More information about the CentOS mailing list