From 7edaa41ac67d38d9481489f036b38ba12be89fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 10 Mar 2019 20:23:08 +0100 Subject: RPM: fix gcc visibility in TQT3 --- redhat/dependencies/tqt3/tqt3-14.0.0.spec | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec index 5c6715b2d..2a9d0c917 100644 --- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec +++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec @@ -309,11 +309,6 @@ BuildRequires: util-linux %endif %endif -# GCC visibility stuff -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define EXTRA_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden -%endif - %description This is the Trolltech TQt library, version 3. It's necessary for applications that link against the libtqt-mt.so.3, e.g. all Trinity @@ -1294,7 +1289,7 @@ echo "sle_version = %{?sle_version}" -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \ -e "s|\$(QTDIR)|/usr|g" \ -e "s|-lqt|-ltqt|g" \ - -e "s|^QMAKE_CFLAGS =.*|QMAKE_CFLAGS = %{?optflags}|" \ + -e "s|^QMAKE_CFLAGS =.*|QMAKE_CFLAGS = %{?optflags} -pipe -fvisibility=hidden -fvisibility-inlines-hidden|" \ -e "s|^QMAKE_INCDIR =.*|QMAKE_INCDIR = %{_includedir}|" \ -e "s|^QMAKE_LIBDIR =.*|QMAKE_LIBDIR = %{_libdir}|" \ -e "s|^QMAKE_RPATH = .*|QMAKE_RPATH =|" \ -- cgit v1.2.1