On 2/15/22 18:01, Philippe Mathieu-Daudé via wrote:
+
+case "$cpu" in
+  aarch64)
+    write_c_skeleton;
+    if compile_prog "$CPU_CFLAGS -Werror -mno-outline-atomics" "" ; then
+      CPU_CFLAGS="-mno-outline-atomics $CPU_CFLAGS"
+    fi
+    ;;

Apart from the question of whether/how to work around this issue, this should not be added to CPU_CFLAGS. CPU_CFLAGS is only for things that change the ABI.

Paolo

Reply via email to