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
|
end
|
||||||
|
|
||||||
def cflags
|
def cflags
|
||||||
cflags = "#{ENV['CFLAGS']}"
|
cflags = ENV.cflags.to_s
|
||||||
cflags += '-std=gnu89 -fheinous-gnu-extensions' if ENV.compiler == :clang
|
cflags += ' -std=gnu89 -fheinous-gnu-extensions' if ENV.compiler == :clang
|
||||||
cflags
|
cflags
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue