changeset 8647:f2903632450a

8204053: libsaproc.so not linked with -z,noexecstack Reviewed-by: erikj, dholmes
author dbuck
date Tue, 05 Jun 2018 10:33:56 -0400
parents 64fe89b445cd
children 6688d6c6a225
files make/linux/makefiles/saproc.make
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/linux/makefiles/saproc.make	Mon May 21 13:05:10 2018 +0000
+++ b/make/linux/makefiles/saproc.make	Tue Jun 05 10:33:56 2018 -0400
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -73,7 +73,8 @@
 else
 ALT_SAINCDIR=
 endif
-SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE)) $(LDFLAGS_HASH_STYLE)
+SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE)) $(LDFLAGS_HASH_STYLE) \
+            $(LDFLAGS_NO_EXEC_STACK)
 
 SAARCH ?= $(BUILDARCH)