On Wed, Feb 04, 2015 at 10:45:23AM +1300, Peter wrote:

> On 02/04/2015 10:20 AM, Viktor Dukhovni wrote:
> > On Wed, Feb 04, 2015 at 09:59:28AM +1300, Peter wrote:
> > 
> >> I simplified it down to this and was still got the error:
> >> make makefiles shared=yes 'CCARGS=-fPIC' 'AUXLIBS=-pie'
> > 
> > If you want PIE support, you'll need to use "-fPIE" (upper-case).
> > This makes it possible to enable ASLR for the Postfix binaries and
> > libraries (and any system libraries linked with PIE).
> 
> If I add -fPIE to CCARGS I get:

No, not CCARGS, AUXLIBS:

    make -f Makefile.in shared=yes "AUXLIBS=-fPIE" makefiles
    make

works with the GCC toolchain on my machine.

-- 
        Viktor.

Reply via email to