summaryrefslogtreecommitdiffstats
path: root/src/auto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-14 16:12:30 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-14 16:12:30 +0200
commit2a43230ce39eea340aab15fb50a083bc527fb8d0 (patch)
tree27dbda66e3383b429f89d7481f45f67354510904 /src/auto
parent2e324950b83fcdf60843b54a6a339183370f338a (diff)
patch 8.0.1710: building with Ruby failsv8.0.1710
Problem: Building with Ruby fails. Solution: Don't add -ansi when building with Ruby.
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auto/configure b/src/auto/configure
index e9ee0171f7..29dadf2747 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -14434,7 +14434,7 @@ if test "$zOSUnix" = "yes"; then
CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll"
fi
-if test "$GCC" = yes -a "$GUITYPE" != "GTK"; then
+if test "$GCC" = yes -a "$GUITYPE" != "GTK" -a "X$RUBY_CFLAGS" = "X"; then
CFLAGS="$CFLAGS -ansi"
fi