Patchwork intl/Makefile: Prevent use of alloca, VLAs

login
register
mail settings
Submitter Florian Weimer
Date June 19, 2017, 4:19 p.m.
Message ID <20170619161914.9CB16402AEC0E@oldenburg.str.redhat.com>
Download mbox | patch
Permalink /patch/21101/
State New
Headers show

Comments

Florian Weimer - June 19, 2017, 4:19 p.m.
2017-06-19  Florian Weimer  <fweimer@redhat.com>

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

Patch

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 \