Current-Users archive

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

Re: another build problem with MKPIE=yes on i386



On Mon, Apr 19, 2010 at 12:23:38AM +0200, Martin Husemann wrote:
> On Sun, Apr 18, 2010 at 11:07:40PM +0200, Piotr Meyer wrote:
> > Any suggestions?
> 
> I would drop the PIE flags when creating .cro or the final binary.

Finally I achieve this by following change (in addition to 
previous):

--- bsd.prog.mk 2 Mar 2010 20:49:18 -0000       1.247
+++ bsd.prog.mk 19 Apr 2010 11:10:05 -0000
@@ -46,7 +46,7 @@
        @rm -f x.cc
 .endif
 
-.if defined(MKPIE) && (${MKPIE} != "no")
+.if defined(MKPIE) && (${MKPIE} != "no") && !defined(RESCUEDIR)
 CFLAGS+=       ${PIE_CFLAGS}
 AFLAGS+=       ${PIE_AFLAGS}
 LDFLAGS+=      ${PIE_LDFLAGS}

- now, I have system built with MKPIE and static 'rescue'.

-- 
Piotr 'aniou' Meyer


Home | Main Index | Thread Index | Old Index