-sd
The -sd option instructs the compiler to compile double as float and selects the appropriate library for linking.