From 6eafdb27010c89a645f4f9cfeb23ccf75de867c4 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Tue, 19 Jul 2016 08:06:37 +0800 Subject: [PATCH] plplot: remove compiler flags found in the environment --- Formula/plplot.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Formula/plplot.rb b/Formula/plplot.rb index e671d20b3b..8ee693aa2a 100644 --- a/Formula/plplot.rb +++ b/Formula/plplot.rb @@ -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