libnotify: update to 0.8.3; drop 32 bit
[oi-userland.git] / components / runtime / openjdk-21 / patches / tribblix-flags-cflags.patch
blob3084a51e5c9597dcd0dcffdd6184d7b9211c0171
1 --- a/make/autoconf/flags-cflags.m4~ Sun Apr 12 19:51:35 2020
2 +++ b/make/autoconf/flags-cflags.m4 Sun Apr 12 21:38:33 2020
3 @@ -597,8 +597,8 @@
4 fi
6 if test "x$TOOLCHAIN_TYPE" = xgcc; then
7 - TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fstack-protector"
8 - TOOLCHAIN_CFLAGS_JDK="-pipe -fstack-protector"
9 + TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM"
10 + TOOLCHAIN_CFLAGS_JDK="-pipe"
11 # reduce lib size on linux in link step, this needs also special compile flags
12 # do this on s390x also for libjvm (where serviceability agent is not supported)
13 if test "x$ENABLE_LINKTIME_GC" = xtrue; then
14 @@ -647,7 +647,12 @@
16 # CFLAGS C language level for JDK sources (hotspot only uses C++)
17 if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xxlc; then
18 - LANGSTD_CFLAGS="-std=c11"
19 + if test "x$OPENJDK_TARGET_OS" = xsolaris; then
20 + # illumos headers are confused by c11
21 + LANGSTD_CFLAGS="-std=gnu11"
22 + else
23 + LANGSTD_CFLAGS="-std=c11"
24 + fi
25 elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
26 LANGSTD_CFLAGS="-std:c11"