perl/Test-Simple: update to 1.302205
[oi-userland.git] / components / runtime / openjdk-11 / patches / tribblix-flags-ldflags3.patch
blobb320e51abb21dc748e3a1b895b0625aaa77dca99
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
3 @@ -146,11 +146,13 @@
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
9 - # java heap.
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
15 + # java heap.
16 + if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
17 + EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -pie"
18 + fi