gtk+3: remove compiler flags found in the environment

This commit is contained in:
Zhiming Wang 2016-07-19 08:06:30 +08:00 committed by Mike McQuaid
parent 5a3f79c878
commit a40e7c6a36

View file

@ -92,8 +92,7 @@ class Gtkx3 < Formula
libpng = Formula["libpng"] libpng = Formula["libpng"]
pango = Formula["pango"] pango = Formula["pango"]
pixman = Formula["pixman"] 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#{atk.opt_include}/atk-1.0
-I#{cairo.opt_include}/cairo -I#{cairo.opt_include}/cairo
-I#{fontconfig.opt_include} -I#{fontconfig.opt_include}