Ecore: and even better -Wno-foo checks !
SVN revision: 72408
This commit is contained in:
parent
bc7c4664c4
commit
cbde1fd9ad
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue