summaryrefslogtreecommitdiff
path: root/icu
diff options
context:
space:
mode:
Diffstat (limited to 'icu')
-rw-r--r--icu/makefile.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/icu/makefile.mk b/icu/makefile.mk
index 664c2973ced4..cb65bb6b7b24 100644
--- a/icu/makefile.mk
+++ b/icu/makefile.mk
@@ -4,9 +4,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.33 $
+# $Revision: 1.34 $
#
-# last change: $Author: obo $ $Date: 2007-01-25 13:37:16 $
+# last change: $Author: ihi $ $Date: 2007-03-26 12:25:49 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -72,6 +72,11 @@ icu_CFLAGS+=$(C_RESTRICTIONFLAGS)
icu_LDFLAGS+=-L$(SYSBASE)$/usr$/lib
.ENDIF # "$(SYSBASE)"!=""
+# Disable executable stack
+.IF "$(OS)$(COM)"=="LINUXGCC"
+icu_LDFLAGS+=-Wl,-z,noexecstack
+.ENDIF
+
icu_CFLAGS+=-O $(ARCH_FLAGS)
icu_CXXFLAGS+=-O $(ARCH_FLAGS)