Customizing CMAKE_CXX_FLAGS is not possible with codeql-cli auto-build
未關閉
question
- 主要語言
- CodeQL
- 星號
- 10.1k
- 分支
- 2.1k
- 平均合併
- 2 天 15 小時
- 30 天內合併 PR
- 141
描述
I have encountered an issue when using the default auto-build feature, as it does not pass the CMAKE_CXX_FLAGS parameter to cmake. Upon closer inspection, I found that the `cpp/tools/do-prebuild.sh` script uses a fixed `CXXFLAGS=-fpermissive`.
It would be beneficial if the script could allow reading the CXXFLAGS configuration from environment variables, like this:
```bash
export CXXFLAGS="'${CXXFLAGS:-} -fpermissive'"
```
```[tasklist]
### Tasks
```
貢獻指南
評估
這個 Issue 還沒有評估資料。