On Darwin, the --isysroot flag must also be specified. This happens when either %flang or %flang_fc1 is expanded. As -fc1 must be the first argument, %flang_fc1 must be used in tests, instead of %flang -fc1.