pangox-compat: remove compiler flags found in the environment

This commit is contained in:
Zhiming Wang 2016-07-19 08:06:37 +08:00 committed by Mike McQuaid
parent e603c0aa5c
commit 5f8541e742

View file

@ -32,8 +32,7 @@ class PangoxCompat < Formula
gettext = Formula["gettext"]
glib = Formula["glib"]
pango = Formula["pango"]
flags = (ENV.cflags || "").split + (ENV.cppflags || "").split + (ENV.ldflags || "").split
flags += %W[
flags = %W[
-I#{gettext.opt_include}
-I#{glib.opt_include}/glib-2.0
-I#{glib.opt_lib}/glib-2.0/include