From 3e37c534e37f0f08929f697346e295b243ea54a5 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 19 Feb 2012 01:05:25 -0600 Subject: gnupg: fix compilation with clang Signed-off-by: Jack Nagel --- Library/Formula/gnupg.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/gnupg.rb b/Library/Formula/gnupg.rb index f42b3397f..b7341defe 100644 --- a/Library/Formula/gnupg.rb +++ b/Library/Formula/gnupg.rb @@ -24,6 +24,8 @@ class Gnupg < Formula end def install + ENV.append 'CFLAGS', '-std=gnu89' if ENV.compiler == :clang + if ARGV.include? '--idea' opoo "You are building with support for the patented IDEA cipher." d=Pathname.getwd -- cgit v1.2.3