aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/e2fsprogs.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/e2fsprogs.rb b/Library/Formula/e2fsprogs.rb
index b7c74ab9b..bde7085b2 100644
--- a/Library/Formula/e2fsprogs.rb
+++ b/Library/Formula/e2fsprogs.rb
@@ -9,6 +9,7 @@ class E2fsprogs < Formula
keg_only "This brew installs several commands which override OS X-provided file system commands."
def install
+ ENV.append_to_cflags "--std=gnu89 -Wno-return-type" if ENV.compiler == :clang
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"