geany: remove compiler flags found in the environment

This commit is contained in:
Zhiming Wang 2016-07-19 08:06:27 +08:00 committed by Mike McQuaid
parent 7845244703
commit a3c9ec4ce5

View file

@ -44,8 +44,7 @@ class Geany < 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}