https://bugzilla.rpmfusion.org/show_bug.cgi?id=4993

--- Comment #39 from Akarshan Biswas <akarshan.bis...@hotmail.com> ---
(In reply to Antonio Trande from comment #38)

> Tom's reply: "that there is no clear way to do it"

Hmm. Then I think we have no choice. 
I have made some changes to the spec file
Spec:https://gitlab.com/biswasab/chromium-vaapi/raw/master/chromium-vaapi.spec
SRPM:
https://github.com/biswasab/chromium-vaapi/releases/download/68.0.3440.106/chromium-vaapi-69.0.3497.81-1.fc28.src.rpm


I found out that the value to CXXFLAGS is nothing if I don't use
%{set_build_flags} in  the spec file.

I am thinking of addding

```
export CFLAGS="$(echo '%{__global_cflags}' | sed 's/-fexceptions//')"
export CXXFLAGS="$(echo
'%{?__global_cxxflags}%{!?__global_cxxflags:%{__global_cflags}}' | sed
's/-fexceptions//')"
export LDFLAGS='%{__global_ldflags}
```

Please test and see whether this src rpm builds successfully on rpmfusion koji
or not(Since I still have no access and I need sponsors) or I will test will
the mentioned flags.
Thank you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
rpmfusion-developers mailing list -- rpmfusion-developers@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-developers-le...@lists.rpmfusion.org

Reply via email to