Rex Dieter wrote:

> Rex Dieter wrote:
> 
>> Florian Weimer wrote:
>> 
>>> I have a package which indirectly calls qmake (from Qt5).  Is there a
>>> way to inject the standard build flags using environment variables, or
>>> do I have to patch the invocation of the qmake command itself to pass
>>> the flags, similar to what %{qmake_qt5} does?
>> 
>> %{qmake_qt5} already does that in general.   it will use any existing
>> values for environment variables CFLAGS, CXXFLAGS, LDFLAGS.
>> 
>> In short, set CFLAGS, CXXFLAGS, and/or LDFLAGS prior to calling
>> %{qmake_qt5}
> 
> Oh, *indirectly* calls qmake, that may be trickier.  Which package?

I found some qt(4), examples of using a qmake wrapper, but the principle is 
the same, one is:
https://marc.info/?l=fedora-extras-commits&m=145585036023552&w=2

-- Rex
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to