Ecore: and even better -Wno-foo checks !

SVN revision: 72408
This commit is contained in:
Vincent Torri 2012-06-18 15:41:08 +00:00
parent bc7c4664c4
commit cbde1fd9ad
1 changed files with 1 additions and 1 deletions

View File

@ -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}"