pass optimization flag to the linker