tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: qmake and STRIP



On Mon 28 Jun 2021 at 18:40:39 +0200, Rhialto wrote:
> So I still don't like this wholesale replacing of the upstream
> configurations. Anyone has a better idea?

We could of course just give up on doing this right, and go agile
instead. Just do an MVP (minimal viable product)... only this:

Index: qmake.conf
===================================================================
RCS file: /cvsroot/pkgsrc/x11/qt5-qtbase/files/qmake.conf,v
retrieving revision 1.10
diff -u -r1.10 qmake.conf
--- qmake.conf	9 Aug 2019 17:41:39 -0000	1.10
+++ qmake.conf	29 Jun 2021 18:43:11 -0000
@@ -48,6 +48,9 @@
 QMAKE_NM		= nm -P
 QMAKE_RANLIB		= @QMAKE_RANLIB@
 
+QMAKE_STRIP             = strip
+QMAKE_STRIPFLAGS_LIB   += --strip-unneeded
+
 QMAKE_MOC		= $(QTDIR)/bin/moc
 QMAKE_UIC		= $(QTDIR)/bin/uic
 QMAKE_UIC3		= $(QTDIR)/bin/uic3
Index: qmake.conf.mac
===================================================================
RCS file: /cvsroot/pkgsrc/x11/qt5-qtbase/files/qmake.conf.mac,v
retrieving revision 1.4
diff -u -r1.4 qmake.conf.mac
--- qmake.conf.mac	9 Aug 2019 17:41:39 -0000	1.4
+++ qmake.conf.mac	29 Jun 2021 18:43:11 -0000
@@ -14,7 +14,7 @@
 
 include(../common/gcc-base-mac.conf)
 include(../common/g++-unix.conf)
-include(../common/unix.conf)
+include(../common/bsd/bsd.conf)
 
 QMAKE_COMPILER		= @CC@
 
 -Olaf.
 -- 
___ Q: "What's an anagram of Banach-Tarski?"  -- Olaf "Rhialto" Seibert
\X/ A: "Banach-Tarski Banach-Tarski."         -- rhialto at falu dot nl

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index