webkitgtk: remove compiler flags found in the environment

Closes #3104.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
Zhiming Wang 2016-07-19 08:06:38 +08:00 committed by Mike McQuaid
parent df86afadfc
commit aac3ed0892
1 changed files with 1 additions and 2 deletions

View File

@ -72,8 +72,7 @@ class Webkitgtk < 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}