From perusing the gcc manual, the wrong option was being used.