This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] intl/Makefile: Prevent use of alloca, VLAs
- From: fweimer at redhat dot com (Florian Weimer)
- To: libc-alpha at sourceware dot org
- Date: Mon, 19 Jun 2017 18:19:14 +0200
- Subject: [PATCH] intl/Makefile: Prevent use of alloca, VLAs
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 5C5A44E884
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5C5A44E884
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 \