atkmm: 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 2f60033630
commit 04723580e2

View file

@ -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