You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding conditionally included compiler flags, dont use the CFLAGS section.
- cmake/modules/SwiftSupport.cmake prepends each flag with '-Xcc' but
if the flag evaluates to empty then an extra -Xcc is added to the
compiler options.
- Explicitly add the option with a conditional '-Xcc' before it as well.
- This fixes the "warning: argument unused during compilation: '-Xcc'"
seen in the error logs.
0 commit comments