build: Disable deprecation warnings with --enable-deprecated
Just like we turn everything on with --disable-deprecated, we have to turn everything off with --enable-deprecated. This means disabling the deprecation warnings from the compiler as well.
This commit is contained in:
parent
af7afc29a7
commit
ef0e52f0e1
@ -741,7 +741,7 @@ AS_CASE([$enable_deprecated],
|
|||||||
|
|
||||||
[yes],
|
[yes],
|
||||||
[
|
[
|
||||||
CLUTTER_DEPRECATED_CFLAGS=""
|
CLUTTER_DEPRECATED_CFLAGS="-DGLIB_DISABLE_DEPRECATION_WARNINGS -DCLUTTER_DISABLE_DEPRECATION_WARNINGS"
|
||||||
],
|
],
|
||||||
|
|
||||||
[AC_MSG_ERROR([Unknown argument for --enable-deprecated])]
|
[AC_MSG_ERROR([Unknown argument for --enable-deprecated])]
|
||||||
|
Loading…
Reference in New Issue
Block a user