8217233: Update build settings for AIX/xlc
authormbaesken
Wed, 16 Jan 2019 10:13:49 +0100
changeset 53366 3bc79cb6fab4
parent 53365 a678ba2556ee
child 53367 c3fa35381763
8217233: Update build settings for AIX/xlc Reviewed-by: clanger, sgroeger
make/autoconf/flags-cflags.m4
--- a/make/autoconf/flags-cflags.m4	Wed Jan 16 17:37:05 2019 -0800
+++ b/make/autoconf/flags-cflags.m4	Wed Jan 16 10:13:49 2019 +0100
@@ -572,10 +572,10 @@
 
   elif test "x$TOOLCHAIN_TYPE" = xxlc; then
     # Suggested additions: -qsrcmsg to get improved error reporting
-    TOOLCHAIN_CFLAGS_JDK="-qchars=signed -qfullpath -qsaveopt"  # add on both CFLAGS
+    TOOLCHAIN_CFLAGS_JDK="-qchars=signed -qfullpath -qsaveopt -qstackprotect"  # add on both CFLAGS
     TOOLCHAIN_CFLAGS_JVM="-qtune=balanced \
         -qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \
-        -qlanglvl=noredefmac -qnortti -qnoeh -qignerrno"
+        -qlanglvl=noredefmac -qnortti -qnoeh -qignerrno -qstackprotect"
   elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
     TOOLCHAIN_CFLAGS_JVM="-nologo -MD -MP"
     TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:wchar_t-"