summaryrefslogtreecommitdiffstats
path: root/patches/luaexpat-1.3.0/0001-Remove-ansi-flag-because-lua-5.3.4-is-not-configured.patch
blob: d9bf9f9b2e44610d5d957e42b7822fbffef018de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Denis Osterland <Denis.Osterland@diehl.com>
Date: Mon, 25 Sep 2017 16:41:53 +0200
Subject: [PATCH] Remove -ansi flag, because lua 5.3.4 is not configured for
 C89.

Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8878b6ce61d4..fc6754c3db9f 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ LUA_CDIR	?= /usr/lib/lua/$(LUA_V)
 T		= lxp
 LIBNAME		= $(T).so
 
-COMMON_CFLAGS	 = -g -pedantic -Wall -O2 -fPIC -DPIC -ansi
+COMMON_CFLAGS	 = -g -pedantic -Wall -O2 -fPIC -DPIC
 LUA_INC		?= -I/usr/include/lua$(LUA_V)
 EXPAT_INC	?= -I/usr/include
 CF		 = $(LUA_INC) $(EXPAT_INC) $(COMMON_CFLAGS) $(CFLAGS)