libpeas: remove compiler flags found in the environment

master
Zhiming Wang 2016-07-19 08:06:35 +08:00 committed by Mike McQuaid
parent 27facd65d3
commit c75e8fe743
1 changed files with 1 additions and 2 deletions

View File

@ -39,8 +39,7 @@ class Libpeas < Formula
glib = Formula["glib"]
gobject_introspection = Formula["gobject-introspection"]
libffi = Formula["libffi"]
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