1 --- /tmp/Makefile.shared Mon Feb 14 14:33:05 2011
2 +++ openssl-1.0.0d/Makefile.shared Mon Feb 14 14:35:56 2011
4 SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -h $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX -Wl,-Bsymbolic"; \
7 +# Make sure the apps have non-executable stacks and data (x86/x64 only).
9 @ if $(DETECT_GNU_LD); then \
13 LDFLAGS="$(CFLAGS)"; \
15 + if expr $(PLATFORM) : '.*x86.*' > /dev/null; then \
16 + LDFLAGS="$${LDFLAGS} -Wl,-M/usr/lib/ld/map.noexdata"; \
18 + LDFLAGS="$${LDFLAGS} -Wl,-M/usr/lib/ld/map.noexstk -Wl,-M/usr/lib/ld/map.pagealign"; \
21 # OpenServer 5 native compilers used