< prev index next >

make/autoconf/flags.m4

Print this page
rev 49480 : 8199138: Add RISC-V support to Zero
Reviewed-by: aph, erikj, ehelin, ihse

@@ -235,11 +235,12 @@
 
   if test "x$TOOLCHAIN_TYPE" = xxlc; then
     MACHINE_FLAG="-q${OPENJDK_TARGET_CPU_BITS}"
   elif test "x$TOOLCHAIN_TYPE" != xmicrosoft; then
     if test "x$OPENJDK_TARGET_CPU" != xaarch64 &&
-        test "x$OPENJDK_TARGET_CPU" != xarm; then
+        test "x$OPENJDK_TARGET_CPU" != xarm &&
+        test "x$OPENJDK_TARGET_CPU" != xriscv64; then
       MACHINE_FLAG="-m${OPENJDK_TARGET_CPU_BITS}"
     fi
   fi
 
   # FIXME: global flags are not used yet...
< prev index next >