aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgcc
diff options
Diffstat (limited to 'cgcc')
-rwxr-xr-xcgcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgcc b/cgcc
index 239f713d..40dea2a0 100755
--- a/cgcc
+++ b/cgcc
@@ -295,7 +295,7 @@ sub add_specs {
return (' --arch=arm' .
&float_types (1, 1, 36, [24,8], [53,11], [53, 11]));
} elsif ($spec eq 'arm+hf') {
- return &add_specs ('arm') . ' -D__ARM_PCS_VFP=1';
+ return &add_specs ('arm') . ' -mfloat-abi=hard';
} elsif ($spec eq 'aarch64') {
return (' --arch=aarch64' .
&float_types (1, 1, 36, [24,8], [53,11], [113,15]));