The --aapcs flag changes the procedure call standard (or sub-standard) being used. In this case from the default "hard fp" linkage to "soft fp" linkage. What this means is practise is how parameters and return values are passed. With hard fp, float types (float and double) will be passed in VFP/NEON registers. With softfp float types will be passed in general purpose registers.