mirror of
https://github.com/kdlucas/byte-unixbench.git
synced 2025-03-12 00:00:07 +08:00
Allow CC to be overriden in Makefile
To support changing compilers which is particularly useful for cross compilation, use the defined CC if it exists. Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
This commit is contained in:
parent
2c29fe37ef
commit
7d3c7595d2
@ -55,7 +55,7 @@ GL_LIBS = -lGL -lXext -lX11
|
||||
# COMPILER CONFIGURATION: Set "CC" to the name of the compiler to use
|
||||
# to build the binary benchmarks. You should also set "$cCompiler" in the
|
||||
# Run script to the name of the compiler you want to test.
|
||||
CC=gcc
|
||||
CC?=gcc
|
||||
|
||||
# OPTIMISATION SETTINGS:
|
||||
# Use gcc option if defined UB_GCC_OPTIONS via "Environment variable" or "Command-line arguments".
|
||||
|
Loading…
Reference in New Issue
Block a user