1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 20:50:33 +00:00

Add clang support

This commit is contained in:
Carles Fernandez 2019-01-29 14:48:43 +01:00
parent 893447343a
commit 2cf690d88e
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -6,14 +6,17 @@
<arch name="softfp"> <arch name="softfp">
<flag compiler="gnu">-mfloat-abi=softfp</flag> <flag compiler="gnu">-mfloat-abi=softfp</flag>
<flag compiler="clang">-mfloat-abi=softfp</flag>
</arch> </arch>
<arch name="hardfp"> <arch name="hardfp">
<flag compiler="gnu">-mfloat-abi=hard</flag> <flag compiler="gnu">-mfloat-abi=hard</flag>
<flag compiler="clang">-mfloat-abi=hard</flag>
</arch> </arch>
<arch name="neon"> <arch name="neon">
<flag compiler="gnu">-funsafe-math-optimizations</flag> <flag compiler="gnu">-funsafe-math-optimizations</flag>
<flag compiler="clang">-funsafe-math-optimizations</flag>
<alignment>16</alignment> <alignment>16</alignment>
<check name="has_neon"></check> <check name="has_neon"></check>
</arch> </arch>
@ -21,18 +24,22 @@
<arch name="neonv7"> <arch name="neonv7">
<flag compiler="gnu">-mfpu=neon</flag> <flag compiler="gnu">-mfpu=neon</flag>
<flag compiler="gnu">-funsafe-math-optimizations</flag> <flag compiler="gnu">-funsafe-math-optimizations</flag>
<flag compiler="clang">-mfpu=neon</flag>
<flag compiler="clang">-funsafe-math-optimizations</flag>
<alignment>16</alignment> <alignment>16</alignment>
<check name="has_neonv7"></check> <check name="has_neonv7"></check>
</arch> </arch>
<arch name="neonv8"> <arch name="neonv8">
<flag compiler="gnu">-funsafe-math-optimizations</flag> <flag compiler="gnu">-funsafe-math-optimizations</flag>
<flag compiler="clang">-funsafe-math-optimizations</flag>
<alignment>16</alignment> <alignment>16</alignment>
<check name="has_neonv8"></check> <check name="has_neonv8"></check>
</arch> </arch>
<arch name="32"> <arch name="32">
<flag compiler="gnu">-m32</flag> <flag compiler="gnu">-m32</flag>
<flag compiler="clang">-m32</flag>
</arch> </arch>
<arch name="64"> <arch name="64">