Fix BUILD JVM ASFLAGS. ihse-cflags-rewrite-branch
authorihse
Mon, 26 Feb 2018 14:38:46 +0100
branchihse-cflags-rewrite-branch
changeset 56180 62f39c252e0c
parent 56179 dc0add3a3212
child 56181 8caab5c24dcf
Fix BUILD JVM ASFLAGS.
make/autoconf/flags-other.m4
--- a/make/autoconf/flags-other.m4	Mon Feb 26 14:30:58 2018 +0100
+++ b/make/autoconf/flags-other.m4	Mon Feb 26 14:38:46 2018 +0100
@@ -120,9 +120,9 @@
 [
   # NOTE: This test should be generalized, but for now keep old behavior.
   if test "x$1" = "xTARGET"; then
-    JVM_ASFLAGS="$JVM_ASFLAGS $MACHINE_FLAG"
+    $2JVM_ASFLAGS="${$2JVM_ASFLAGS} $MACHINE_FLAG"
   fi
 
-  AC_SUBST(JVM_ASFLAGS)
+  AC_SUBST($2JVM_ASFLAGS)
 ])