cairo: remove compiler flags found in the environment

This commit is contained in:
Zhiming Wang 2016-07-19 08:06:26 +08:00 committed by Mike McQuaid
parent 04723580e2
commit 36b0518457

View file

@ -80,8 +80,7 @@ class Cairo < Formula
glib = Formula["glib"]
libpng = Formula["libpng"]
pixman = Formula["pixman"]
flags = (ENV.cflags || "").split + (ENV.cppflags || "").split + (ENV.ldflags || "").split
flags += %W[
flags = %W[
-I#{fontconfig.opt_include}
-I#{freetype.opt_include}/freetype2
-I#{gettext.opt_include}