Skip to content

Commit 391f33c

Browse files
committed
Explicitly use -std=c99 when compiling libgpg-error
1 parent 85c16a2 commit 391f33c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gpgme/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
'--disable-shared',
7777
'--enable-static',
7878
'--disable-nls',
79-
"CFLAGS=-fPIC #{ENV["CFLAGS"]}",
79+
"CFLAGS=-fPIC -std=c99 #{ENV["CFLAGS"]}",
8080
]
8181
checkpoint = "#{recipe.target}/#{recipe.name}-#{recipe.version}-#{recipe.host}.installed"
8282
unless File.exist?(checkpoint)

0 commit comments

Comments
 (0)