2017-08-21 01:34:21 +02:00
|
|
|
diff -u -r ../ruby-2.4.1/lib/mkmf.rb ./lib/mkmf.rb
|
|
|
|
--- ../ruby-2.4.1/lib/mkmf.rb 2017-03-11 19:46:17.000000000 +0100
|
|
|
|
+++ ./lib/mkmf.rb 2017-08-21 01:04:18.918432148 +0200
|
|
|
|
@@ -500,7 +500,7 @@
|
|
|
|
if $universal and (arch_flag = conf['ARCH_FLAG']) and !arch_flag.empty?
|
|
|
|
conf['ARCH_FLAG'] = arch_flag.gsub(/(?:\G|\s)-arch\s+\S+/, '')
|
|
|
|
end
|
|
|
|
- RbConfig::expand("$(CPP) #$INCFLAGS #$CPPFLAGS #$CFLAGS #{opt} #{CONFTEST_C} #{outfile}",
|
|
|
|
+ RbConfig::expand("$(CPP) #$INCFLAGS #$CPPFLAGS #{opt} #{CONFTEST_C} #{outfile}",
|
|
|
|
conf)
|
|
|
|
end
|
|
|
|
|
|
|
|
@@ -1894,7 +1894,7 @@
|
2015-06-13 01:03:31 +02:00
|
|
|
vpath = $VPATH.dup
|
|
|
|
CONFIG["hdrdir"] ||= $hdrdir
|
|
|
|
mk << %{
|
|
|
|
-SHELL = /bin/sh
|
2015-12-02 11:57:06 +01:00
|
|
|
+SHELL = @TERMUX_PREFIX@/bin/sh
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
# V=0 quiet, V=1 verbose. other values don't work.
|
|
|
|
V = 0
|