ruby-changes:50614
From: nobu <ko1@a...>
Date: Fri, 16 Mar 2018 10:48:08 +0900 (JST)
Subject: [ruby-changes:50614] nobu:r62770 (trunk): configure.ac: DLDFLAGS without arch flags
nobu 2018-03-16 10:48:02 +0900 (Fri, 16 Mar 2018) New Revision: 62770 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62770 Log: configure.ac: DLDFLAGS without arch flags * configure.ac (DLDFLAGS): copy LDFLAGS before adding arch flags. multiple arch flags on universal binary make mjit_header.h failed. Modified files: trunk/configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 62769) +++ configure.ac (revision 62770) @@ -253,6 +253,8 @@ done https://github.com/ruby/ruby/blob/trunk/configure.ac#L253 AC_SUBST(CC_VERSION, $cc_version) AC_SUBST(CC_VERSION_MESSAGE, $cc_version_message) +: ${DLDFLAGS="$LDFLAGS"} + RUBY_UNIVERSAL_ARCH AS_IF([test "$target_cpu" != "$host_cpu" -a "$GCC" = yes -a "$cross_compiling" = no -a "$universal_binary" = no], [ RUBY_DEFAULT_ARCH("$target_cpu") @@ -408,7 +410,6 @@ RUBY_WERROR_FLAG([ https://github.com/ruby/ruby/blob/trunk/configure.ac#L410 cd .. && rm -fr tmp.$$.try_link ]) -: ${DLDFLAGS="$LDFLAGS"} : ${RPATHFLAG=''} rpathflag='' AS_IF([test x"${RPATHFLAG}" = x], [ @@ -3895,6 +3896,7 @@ config_summary "dynamic library ext" "$D https://github.com/ruby/ruby/blob/trunk/configure.ac#L3896 config_summary "CFLAGS" "$cflags" config_summary "CPPFLAGS" "$cppflags" config_summary "LDFLAGS" "$LDFLAGS" +config_summary "DLDFLAGS" "$DLDFLAGS" config_summary "optflags" "$optflags" config_summary "debugflags" "$debugflags" config_summary "warnflags" "$warnflags" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/