!128 add Stack protection
From: @kuenking111 Reviewed-by: @jvmboy Signed-off-by: @jvmboy
This commit is contained in:
commit
e7947e4262
@ -1210,8 +1210,8 @@ export ARCH_DATA_MODEL=64
|
|||||||
# We use ourcppflags because the OpenJDK build seems to
|
# We use ourcppflags because the OpenJDK build seems to
|
||||||
# pass EXTRA_CFLAGS to the HotSpot C++ compiler...
|
# pass EXTRA_CFLAGS to the HotSpot C++ compiler...
|
||||||
# Explicitly set the C++ standard as the default has changed on GCC >= 6
|
# Explicitly set the C++ standard as the default has changed on GCC >= 6
|
||||||
EXTRA_CFLAGS="%ourcppflags -Wno-error"
|
EXTRA_CFLAGS="%ourcppflags -Wno-error -fstack-protector-all"
|
||||||
EXTRA_CPP_FLAGS="%ourcppflags -Wno-error"
|
EXTRA_CPP_FLAGS="%ourcppflags -Wno-error -fstack-protector-all"
|
||||||
|
|
||||||
export EXTRA_CFLAGS
|
export EXTRA_CFLAGS
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user