Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] Re: qmake and stripped executables
Date: Fri, 15 May 2009 12:16:53
Message-Id: gujmeh$s1r$1@ger.gmane.org
In Reply to: Re: [gentoo-devhelp] qmake and stripped executables by Mike Frysinger
Mike Frysinger wrote:
> On Wednesday 13 May 2009 22:02:06 Nikos Chantziaras wrote: >> qmake (from Qt 3) creates makefiles that strip all executables during >> installation. The generated rule looks like this: >> >> install_target: all >> @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/lib64/" || $(MKDIR) >> "$(INSTALL_ROOT)/lib64/" >> -$(INSTALL_FILE) "$(QMAKE_TARGET)" >> "$(INSTALL_ROOT)/lib64/$(QMAKE_TARGET)" >> -strip "$(INSTALL_ROOT)/lib64/$(QMAKE_TARGET)" >> >> This results in portage issuing a QA warning during the emerge (portage >> wants to strip the executables itself). > > rightly so > >> What would be a good way to fix that? > > find an option that doesnt emit the strip line or run `sed` after the fact to > delete the strip line
OK, I found the solution. Someone replied to me off-list hinting at QMAKE_STRIP in qt4.eclass. It turns out that Qt3 also supports this flag. Even though qt3.eclass doesn't set this on its own, I can set it manually during the eqmake3 invocation in the ebuild.

Replies

Subject Author
[gentoo-devhelp] Re: qmake and stripped executables Nikos Chantziaras <realnc@×××××.de>