This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] intl/Makefile: Prevent use of alloca, VLAs


2017-06-19  Florian Weimer  <fweimer@redhat.com>

	* intl/Makefile (CFLAGS-.o, CFLAGS-.os): Add $(CFLAGS-no-alloca).

diff --git a/intl/Makefile b/intl/Makefile
index 60d5d24..c5b882c 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -21,6 +21,9 @@ subdir = intl
 
 include ../Makeconfig
 
+CFLAGS-.o += $(CFLAGS-no-alloca)
+CFLAGS-.os += $(CFLAGS-no-alloca)
+
 headers = libintl.h
 routines = bindtextdom dcgettext dgettext gettext	\
 	   dcigettext dcngettext dngettext ngettext \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]