libgweather: remove compiler flags found in the environment

This commit is contained in:
Zhiming Wang 2016-07-19 08:06:34 +08:00 committed by Mike McQuaid
parent 21a4bd550c
commit 442ec135c3

View file

@ -58,8 +58,7 @@ class Libgweather < 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#{fontconfig.opt_include}