On Tue, 2005-04-12 at 17:59 +0200, Maurice van der Pot wrote:
*snip*
> If compiled with the hardened gcc profile, -fno-pie has to be specified
> when compiling the tests or it will fail. Specifying -fno-pie always
> will force me to disable any PIE support through configure as well.
> 
> I tried to adapt the makefiles to disable pie themselves for the tests
> only, but then I have another problem:
*snip*

Take a look at dev-libs/glib/files/glib-2.6.3-testglib-ssp.patch to see
how solar and I dealt with a similar issue with tests and ssp. See if
you can adapt it, we just forced -fno-stack-protector after the CFLAGS
pulled in from the system.

--Dan

--
gentoo-dev@gentoo.org mailing list

Reply via email to