equal
deleted
inserted
replaced
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 |