From cbde1fd9ada3ad5b260621de9bb7c714d390fe1c Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Mon, 18 Jun 2012 15:41:08 +0000 Subject: [PATCH] Ecore: and even better -Wno-foo checks ! SVN revision: 72408 --- legacy/ecore/m4/efl_compiler.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/ecore/m4/efl_compiler.m4 b/legacy/ecore/m4/efl_compiler.m4 index 4969434c35..b40d8d269b 100644 --- a/legacy/ecore/m4/efl_compiler.m4 +++ b/legacy/ecore/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}"