summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-02-23 17:42:08 -0800
committerKeith Packard <keithp@keithp.com>2014-02-23 17:43:42 -0800
commit57e5d13c0577e1b0a6e8117e2d04eeda6cf0b045 (patch)
treeed20cb3ed07e59ab8a810abc314505f387c7165e
parent104b8bfc9b37fda175f2cb2a1e33601fbf6f48f6 (diff)
libaltos: Link so with -znoexecstack flag
This marks the library as not requiring an executable stack, which openjdk prefers Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--libaltos/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaltos/Makefile.am b/libaltos/Makefile.am
index 969aa8ad..d2531133 100644
--- a/libaltos/Makefile.am
+++ b/libaltos/Makefile.am
@@ -5,7 +5,7 @@ AM_JAVACFLAGS=-target 1.6 -encoding UTF-8 -Xlint:deprecation -source 6
altoslibdir=$(libdir)/altos
altoslib_LTLIBRARIES=libaltos.la
-libaltos_la_LDFLAGS=-version-info 1:0:1
+libaltos_la_LDFLAGS=-version-info 1:0:1 -Wl,-znoexecstack
libaltos_la_SOURCES=\
libaltos.c \