Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure.py: prevent deduplication of seastar compile options
In its infinite wisdom, CMake deduplicates the options passed to `target_compile_options`, making it impossible to pass options which require duplication, such as -mllvm. Passing e.g. `-mllvm;-pgso=false;-mllvm;-inline-threshold=2500` invokes the compiler `-mllvm -pgso=false -inline-threshold=2500`, breaking the options. As a workaround, CMake added the `SHELL:` syntax, which makes it possible to pass the list of options not as a CMake list, but as a shell-quoted string. Let's use it, so we can pass multiple -mllvm options.
- Loading branch information