crm: use gnu89

Fixes Homebrew/homebrew#26707.
This commit is contained in:
Adam Vandenberg 2014-02-13 19:58:05 -08:00
parent b110785d7b
commit 72c2a96f37

View file

@ -8,6 +8,7 @@ class Crm114 < Formula
depends_on 'tre'
def install
ENV.append 'CFLAGS', '-std=gnu89'
inreplace 'Makefile', 'LDFLAGS += -static -static-libgcc', ''
bin.mkpath
system "make", "prefix=#{prefix}", "install"