From 04723580e2f27840c10a74c814f47260f44afee6 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Tue, 19 Jul 2016 08:06:26 +0800 Subject: [PATCH] atkmm: remove compiler flags found in the environment --- Formula/atkmm.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Formula/atkmm.rb b/Formula/atkmm.rb index 29d42b32cc..4d75576fd4 100644 --- a/Formula/atkmm.rb +++ b/Formula/atkmm.rb @@ -38,8 +38,7 @@ class Atkmm < Formula glib = Formula["glib"] glibmm = Formula["glibmm"] libsigcxx = Formula["libsigc++"] - flags = (ENV.cflags || "").split + (ENV.cppflags || "").split + (ENV.ldflags || "").split - flags += %W[ + flags = %W[ -I#{atk.opt_include}/atk-1.0 -I#{gettext.opt_include} -I#{glib.opt_include}/glib-2.0