rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / runtime / openjdk-24 / patches / tribblix-flags-ldflags3.patch
blob62264286d5a19db67e57218a1bdd065f92c7f291
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 @@ -124,10 +124,12 @@
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
8 - # java heap.
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
13 + # java heap.
14 + if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
15 + EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -pie"
16 + fi