So it will let Sparse set the others FP-related predefines too, allows to handle override with -mfloat-abi=soft, ... Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- cgcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgcc b/cgcc index 629124b94..c42fee6de 100755 --- a/cgcc +++ b/cgcc @@ -326,7 +326,7 @@ sub add_specs { my $cppsymbols = ' -m32'; if ($gccmachine eq 'arm-linux-gnueabihf') { - $cppsymbols .= ' -D__ARM_PCS_VFP=1'; + $cppsymbols .= ' -mfloat-abi=hard'; } return ($cppsymbols . -- 2.20.0