libsoup: remove compiler flags found in the environment

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

View File

@ -49,8 +49,7 @@ class Libsoup < Formula
ENV.libxml2
gettext = Formula["gettext"]
glib = Formula["glib"]
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