libchamplain: remove compiler flags found in the environment

This commit is contained in:
Zhiming Wang 2016-07-19 08:06:32 +08:00 committed by Mike McQuaid
parent b5db7ef93a
commit 454552c618

View file

@ -53,8 +53,7 @@ class Libchamplain < Formula
libsoup = Formula["libsoup"]
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#{clutter.opt_include}/clutter-1.0