pangomm: 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 4a202e822e
commit e603c0aa5c

View file

@ -44,8 +44,7 @@ class Pangomm < Formula
libsigcxx = Formula["libsigc++"]
pango = Formula["pango"]
pixman = Formula["pixman"]
flags = (ENV.cflags || "").split + (ENV.cppflags || "").split + (ENV.ldflags || "").split
flags += %W[
flags = %W[
-I#{cairo.opt_include}/cairo
-I#{cairomm.opt_include}/cairomm-1.0
-I#{cairomm.opt_lib}/cairomm-1.0/include