---
title: otherSwiftcFlags
framework: swift-package-manager
role: symbol
role_heading: Instance Property
path: swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/otherswiftcflags
---

# otherSwiftcFlags

Additional flags to pass to all Swift compiler invocations for the destination platform.

## Declaration

```swift
var otherSwiftcFlags: [String]
```

## See Also

### Inspecting Build Parameters

- [configuration](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/configuration.md)
- [logging](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/logging.md)
- [echoLogs](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/echologs.md)
- [otherCFlags](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/othercflags.md)
- [otherCxxFlags](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/othercxxflags.md)
- [otherLinkerFlags](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/otherlinkerflags.md)
