components/openssh/Makefile
changeset 7245 934578b959f0
parent 6930 31ef2580c45d
child 7270 2a82983df5d6
equal deleted inserted replaced
7244:0d8fd6bb915f 7245:934578b959f0
    73 # pre-authentication phase, sshd will chroot to /var/empty which doesn't
    73 # pre-authentication phase, sshd will chroot to /var/empty which doesn't
    74 # contain any files. If we use lazyloading, sshd will fail to find any
    74 # contain any files. If we use lazyloading, sshd will fail to find any
    75 # libraries that it needs.
    75 # libraries that it needs.
    76 LDFLAGS += $(LD_B_DIRECT) -z nolazyload
    76 LDFLAGS += $(LD_B_DIRECT) -z nolazyload
    77 
    77 
    78 # Enable nxheap and nxstack security extensions
    78 # Enable adiheap and adistack security extensions
    79 LDFLAGS += -z nxheap=enable -z nxstack=enable
    79 ADIHEAP_MODE =	$(ADIHEAP_ENABLE)
       
    80 ADISTACK_MODE =	$(ADISTACK_ENABLE)
       
    81 
       
    82 # Build PIE
       
    83 CC_PIC_MODE =	$(CC_PIC_ENABLE)
       
    84 LD_Z_PIE_MODE =	$(LD_Z_PIE_ENABLE)
    80 
    85 
    81 # Fix 64-bit linking via compiler.
    86 # Fix 64-bit linking via compiler.
    82 LDFLAGS += $(CC_BITS)
    87 LDFLAGS += $(CC_BITS)
    83 
    88 
    84 CONFIGURE_OPTIONS += --with-audit=solaris
    89 CONFIGURE_OPTIONS += --with-audit=solaris