From aea450ce2d5960821c82f4597d6941fdb1f0fcf5 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Tue, 19 Jul 2016 08:06:37 +0800 Subject: [PATCH] vte: remove compiler flags found in the environment --- Formula/vte.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Formula/vte.rb b/Formula/vte.rb index e6c137bdb1..f6e15bd4ca 100644 --- a/Formula/vte.rb +++ b/Formula/vte.rb @@ -55,8 +55,7 @@ class Vte < Formula libpng = Formula["libpng"] pango = Formula["pango"] pixman = Formula["pixman"] - flags = (ENV.cflags || "").split + (ENV.cppflags || "").split + (ENV.ldflags || "").split - flags += %W[ + flags = %W[ -I#{atk.opt_include}/atk-1.0 -I#{cairo.opt_include}/cairo -I#{fontconfig.opt_include}