cairomm: 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 36b0518457
commit 1604864fd5

View file

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