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



--- Comment #2 from Mario Blättermann <[email protected]> ---
%{_qt4_qmake}

This expands to:

$ rpm --eval %{_qt4_qmake}
/usr/lib64/qt4/bin/qmake

It calls the appropriate binary only. Have a look at a similar macro:

$ rpm --eval %{qmake_qt4}

  /usr/lib64/qt4/bin/qmake \
  QMAKE_CFLAGS_DEBUG="${CFLAGS:--O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic}" \
  QMAKE_CFLAGS_RELEASE="${CFLAGS:--O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic}" \
  QMAKE_CXXFLAGS_DEBUG="${CXXFLAGS:--O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic}" \
  QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS:--O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64
-mtune=generic}" \
  QMAKE_LFLAGS_DEBUG="${LDFLAGS:--Wl,-z,relro }" \
  QMAKE_LFLAGS_RELEASE="${LDFLAGS:--Wl,-z,relro }" \
  QMAKE_STRIP=

That one makes sure that qmake is always called with sufficient and correct
options.

-- 
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