gxml: remove compiler flags found in the environment

master
Zhiming Wang 2016-07-19 08:06:32 +08:00 committed by Mike McQuaid
parent d345e3259f
commit fbc275ed01
1 changed files with 1 additions and 2 deletions

View File

@ -52,8 +52,7 @@ class Gxml < Formula
gettext = Formula["gettext"]
glib = Formula["glib"]
libgee = Formula["libgee"]
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