Commit ec2953e
committed
build: make CXX overridable (CXX ?= g++) for clang builds
The Makefile hardcoded `CXX = g++`, which a `CXX=clang++ make` environment
prefix does not override. Downstream (ProxySQL deps build) compiles this with
clang in containers that ship only clang/clang++ (no g++), so the build failed
with exit 127 (g++: command not found). Using `?=` lets the environment-provided
compiler win while keeping g++ as the default.1 parent faadb2e commit ec2953e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments