1 --- a/make/autoconf/flags-ldflags.m4~ Wed Apr 15 14:26:49 2020
2 +++ b/make/autoconf/flags-ldflags.m4 Wed Apr 15 14:28:01 2020
5 # Setup LDFLAGS for linking executables
6 if test "x$TOOLCHAIN_TYPE" = xgcc; then
7 - # Enabling pie on 32 bit builds prevents the JVM from allocating a continuous
9 - if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
10 - EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -pie"
11 + if test "x$OPENJDK_TARGET_OS" != xsolaris; then
12 + # Enabling pie on 32 bit builds prevents the JVM from allocating a continuous
14 + if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
15 + EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -pie"