diff --git a/glib-2.36.3-r1.ebuild b/glib-2.36.3-r1.ebuild index 7724956..d39c645 100644 --- a/glib-2.36.3-r1.ebuild +++ b/glib-2.36.3-r1.ebuild @@ -136,6 +136,9 @@ src_prepare() { epatch_user + # Fix to be able to compile using clang. bug #478338 + [[ $(tc-getCC) == *clang* ]] && append-flags -Wno-format-nonliteral + # Needed for the punt-python-check patch, disabling timeout test # Also needed to prevent croscompile failures, see bug #267603 # Also needed for the no-gdbus-codegen patch