@@ -100,13 +100,13 @@ const ARCHITECTURE_FLAGS = Dict(
100100 ),
101101 " armv6l" => Dict (
102102 # This is the only known armv6l chip that runs Julia, so it's the only one we care about.
103- " arm1176jzfs" => [" -mcpu=arm1176jzf-s" , " -mfpu=vfp" ],
103+ " arm1176jzfs" => [" -mcpu=arm1176jzf-s" , " -mfpu=vfp" , " -mfloat-abi=hard " ],
104104 ),
105105 " armv7l" => Dict (
106106 # Base armv7l architecture, with the most basic of FPU's
107- " armv7l" => [" -march=armv7-a" , " -mtune=generic-armv7-a" , " -mfpu=vfpv3" ],
107+ " armv7l" => [" -march=armv7-a" , " -mtune=generic-armv7-a" , " -mfpu=vfpv3" , " -mfloat-abi=hard " ],
108108 # armv7l plus NEON and vfpv4, (Raspberry Pi 2B+, RK3328, most boards Elliot has access to)
109- " neonvfpv4" => [" -march=armv7-a" , " -mtune=cortex-a53" , " -mfpu=neon-vfpv4" ],
109+ " neonvfpv4" => [" -march=armv7-a" , " -mtune=cortex-a53" , " -mfpu=neon-vfpv4" , " -mfloat-abi=hard " ],
110110 ),
111111 " aarch64" => Dict (
112112 # Base armv8.0-a architecture, tune for generic cortex-a57
@@ -139,4 +139,4 @@ const ARCHITECTURE_FLAGS = Dict(
139139 ),
140140 ),
141141)
142- march (p:: AbstractPlatform ; default= nothing ) = get (tags (p), " march" , default)
142+ march (p:: AbstractPlatform ; default= nothing ) = get (tags (p), " march" , default)
0 commit comments