Commit 7b13b31b authored by Martin Storsjö's avatar Martin Storsjö Committed by Anton Mitrofanov
Browse files

arm: Check for __ELF__ instead of !__APPLE__, for using .arch/.fpu

For windows, when building with armasm, we already filtered these out
with gas-preprocessor.

By filtering them out already in the source, we can also build directly
with clang for windows (which also require wrapping the assembler in
gas-preprocessor for converting instructions to thumb form, but
gas-preprocessor doesn't and shouldn't filter out them in the clang
parent 12ca9a69
......@@ -28,7 +28,7 @@
.syntax unified
#ifndef __APPLE__
#ifdef __ELF__
.arch armv7-a
.fpu neon
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment