https://bugzilla.redhat.com/show_bug.cgi?id=1100899



--- Comment #4 from Björn "besser82" Esser <[email protected]> ---
(In reply to Igor Gnatenko from comment #1)
> %build section has no %configure. That's bad. if there no configure file -
> use this hook:
> 
> %prep
> ...
> echo '#!/bin/sh' > ./configure
> chmod +x ./configure
> 
> %build
> %configure
> ...

Hey, Igor!

Unfortunately that won't help here, because we need to pass the compiler /
linker flags directly into Makefile, since it doesn't evaluate them from
shell's $env.  ;)  The only working solution here is as I mentioned prepending
CFLAGS="%{?optflags}" LDFLAGS="%{?__global_ldflags}" to invocation of `make`.

Cheers,
  Björn

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to