libxml++: remove compiler flags found in the environment

This commit is contained in:
Zhiming Wang 2016-07-19 08:06:36 +08:00 committed by Mike McQuaid
parent f08cb43e4c
commit 2153e0099d

View file

@ -41,8 +41,7 @@ class Libxmlxx < Formula
glib = Formula["glib"]
glibmm = Formula["glibmm"]
libsigcxx = Formula["libsigc++"]
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