Using RPM's %{optflags} is definitely nice, but not enough. LDFLAGS are not there, and idea of optflags is too generic. It is supposed to work under CC and CXX, but apparently someone forgot that there is difference between these two. %__global_*flags is not part of RPM itself, it's coming within redhat-rpm-config which makes our macros file not that portable, but anyway we already have %__global_ldflags and %ninja_build and no one complained. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>pull/1192/head
parent
dcd3c21712
commit
0121faf168
1 changed files with 5 additions and 5 deletions
Loading…
Reference in new issue