libgcrypt: fix CFLAGS
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
c2e26d0604
commit
eec8e4e64e
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ class Libgcrypt < Formula
|
|||
end
|
||||
|
||||
def cflags
|
||||
cflags = "#{ENV['CFLAGS']}"
|
||||
cflags += '-std=gnu89 -fheinous-gnu-extensions' if ENV.compiler == :clang
|
||||
cflags = ENV.cflags.to_s
|
||||
cflags += ' -std=gnu89 -fheinous-gnu-extensions' if ENV.compiler == :clang
|
||||
cflags
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue