Ecore: and even better -Wno-foo checks !
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 18 Jun 2012 15:41:08 +0000 (15:41 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 18 Jun 2012 15:41:08 +0000 (15:41 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@72408 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

m4/efl_compiler.m4

index 4969434..b40d8d2 100644 (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}"