Skip to content

Commit

Permalink
Show gcc diagnostics in colour
Browse files Browse the repository at this point in the history
  • Loading branch information
imaandrew authored Sep 25, 2024
1 parent 71eaa89 commit 96e6d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def run(cmd: str) -> str:
FP_VERSION = tag

FP_BIN_ADDRESS = "0x80400060"
CFLAGS = f"-c -std=gnu11 -Wall -ffunction-sections -fdata-sections -O2 -fno-reorder-blocks -Isrc {' '.join([i for l in args.cflags for i in l])}"
CFLAGS = f"-c -std=gnu11 -Wall -ffunction-sections -fdata-sections -O2 -fno-reorder-blocks -fdiagnostics-color -Isrc {' '.join([i for l in args.cflags for i in l])}"
CPPFLAGS = f"-DURL=github.com/jcog/fp -DFP_VERSION={FP_VERSION} -DF3DEX_GBI_2 {' '.join([i for l in args.cppflags for i in l])}"
LDFLAGS = f"-T gl-n64.ld -L{LIBDIR} -nostartfiles -specs=nosys.specs -Wl,--gc-sections {' '.join([i for l in args.ldflags for i in l])}"

Expand Down

0 comments on commit 96e6d81

Please sign in to comment.