gstreamermm: remove compiler flags found in the environment

This commit is contained in:
Zhiming Wang 2016-07-19 08:06:29 +08:00 committed by Mike McQuaid
parent 9118647208
commit da9e80a22b

View file

@ -43,8 +43,7 @@ class Gstreamermm < Formula
gst_plugins_base = Formula["gst-plugins-base"]
gstreamer = Formula["gstreamer"]
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