]> git.pld-linux.org Git - packages/highlight.git/commit - highlight.spec
rely on qmake's CXXFLAGS; rel 2 auto/th/highlight-3.49-2
authorJan Palus <atler@pld-linux.org>
Mon, 25 Feb 2019 23:31:49 +0000 (00:31 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 25 Feb 2019 23:31:49 +0000 (00:31 +0100)
commitd1a9fc6bf420bcd64035a4c3ff500ca756d23a6a
tree81a87f0ccc4a6b751efebf8e954e080d5282a667
parent03025ef92a8e35cee0ff5da82649880a6e5e8031
rely on qmake's CXXFLAGS; rel 2

passing CXXFLAGS in environment overrides flags added by qt completely
resulting in build failure due to missing -fPIC. while it's possible to
add additional flags by means of:

qmake 'QMAKE_CFLAGS+=${QMAKE_CFLAGS}'

they're always prepended, never appended so qmake's flags take
precedence anyway. since build time %{rpmcxxflags} are already part of
qmake's flags let's just rely on them.
highlight.spec
This page took 0.256157 seconds and 4 git commands to generate.