Viktor Dukhovni:
> 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).

The -pie is a linker option, so it belongs in AUXLIBS. 

The gcc manpage says that you also need to specify the -fpie or
-fPIE compiler option, so that belongs in CCARGS.

        Wietse

Reply via email to