pixman: remove compiler flags found in the environment

This commit is contained in:
Zhiming Wang 2016-07-19 08:06:37 +08:00 committed by Mike McQuaid
parent 5f8541e742
commit 9a5bf25361

View file

@ -49,8 +49,7 @@ class Pixman < Formula
return 0; return 0;
} }
EOS EOS
flags = (ENV.cflags || "").split + (ENV.cppflags || "").split + (ENV.ldflags || "").split flags = %W[
flags += %W[
-I#{include}/pixman-1 -I#{include}/pixman-1
-L#{lib} -L#{lib}
-lpixman-1 -lpixman-1