diff options
Diffstat (limited to 'recipes/build-tools/glib-tools.recipe')
-rw-r--r-- | recipes/build-tools/glib-tools.recipe | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/build-tools/glib-tools.recipe b/recipes/build-tools/glib-tools.recipe index 9f65ae83..620fe9ec 100644 --- a/recipes/build-tools/glib-tools.recipe +++ b/recipes/build-tools/glib-tools.recipe @@ -26,3 +26,6 @@ class Recipe(recipe.Recipe): # Want secure versions of stdlib functions. Glib already defines # _WIN32_WINNT, so undefine it on the cmdline to avoid warnings self.append_env('CFLAGS', '-DMINGW_HAS_SECURE_API=1', '-U_WIN32_WINNT') + + if self.config.platform == Platform.DARWIN: + self.append_env('CFLAGS', '-Wno-error=int-conversion') |