From 156a3ee015ec742f63d486308db2cf4c33861d69 Mon Sep 17 00:00:00 2001 From: caro Date: Mon, 18 Jun 2012 15:41:08 +0000 Subject: [PATCH] Ecore: and even better -Wno-foo checks ! git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@72408 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- m4/efl_compiler.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/efl_compiler.m4 b/m4/efl_compiler.m4 index 4969434..b40d8d2 100644 --- a/m4/efl_compiler.m4 +++ b/m4/efl_compiler.m4 @@ -16,7 +16,7 @@ m4_pushdef([UPEFL], m4_translit([[$1]], [-a-z], [_A-Z])) m4_pushdef([UP], m4_translit([[$2]], [-a-z], [_A-Z])) dnl store in options -Wfoo if -Wno-foo is passed -option=m4_bpatsubst([[$2]], [no-]) +option=m4_bpatsubst([[$2]], [-Wno-], [-W]) CFLAGS_save="${CFLAGS}" CFLAGS="${CFLAGS} ${option}" -- 2.7.4