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 - EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined"
8 - # Enabling pie on 32 bit builds prevents the JVM from allocating a continuous
10 - if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
11 - EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -pie"
12 + if test "x$OPENJDK_TARGET_OS" != xsolaris; then
13 + EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined"
14 + # Enabling pie on 32 bit builds prevents the JVM from allocating a continuous
16 + if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
17 + EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -pie"