plplot: 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 9a5bf25361
commit 6eafdb2701

View file

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