gtk+: remove compiler flags found in the environment

master
Zhiming Wang 2016-07-19 08:06:29 +08:00 committed by Mike McQuaid
parent da9e80a22b
commit 5a3f79c878
1 changed files with 1 additions and 2 deletions

View File

@ -88,8 +88,7 @@ class Gtkx < 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}