make/autoconf/flags-other.m4
changeset 52735 7b9f61b7fd94
parent 51783 4482acfef2a5
child 54452 0d7fb7f07134
--- a/make/autoconf/flags-other.m4	Wed Nov 28 22:29:35 2018 -0500
+++ b/make/autoconf/flags-other.m4	Thu Nov 29 00:49:27 2018 -0500
@@ -119,6 +119,12 @@
   # Misuse EXTRA_CFLAGS to mimic old behavior
   $2JVM_ASFLAGS="$JVM_BASIC_ASFLAGS ${$2EXTRA_CFLAGS}"
 
+  if test "x$1" = "xTARGET" && \
+      test "x$TOOLCHAIN_TYPE" = xgcc && \
+      test "x$OPENJDK_TARGET_CPU" = xarm; then
+    $2JVM_ASFLAGS="${$2JVM_ASFLAGS} $ARM_ARCH_TYPE_ASFLAGS $ARM_FLOAT_TYPE_ASFLAGS"
+  fi
+
   AC_SUBST($2JVM_ASFLAGS)
 ])