Commit cf3d7fb8 authored by Luca Barbato's avatar Luca Barbato Committed by Christoph Mallon
Browse files

Speedup build by evaluating the default value of QUICKCHECK only once.

parent 2a33f527
...@@ -163,7 +163,8 @@ $(libfirm_dll): $(libfirm_OBJECTS) ...@@ -163,7 +163,8 @@ $(libfirm_dll): $(libfirm_OBJECTS)
# Generic rules # Generic rules
UNUSED := $(shell mkdir -p $(libfirm_DIRS:%=$(builddir)/%)) UNUSED := $(shell mkdir -p $(libfirm_DIRS:%=$(builddir)/%))
# Determine if we can use cparser-beta for quickcheck # Determine if we can use cparser-beta for quickcheck
QUICKCHECK ?= $(shell which cparser-beta || echo true) -fsyntax-only QUICKCHECK_DEFAULT := $(shell which cparser-beta || echo true) -fsyntax-only
QUICKCHECK ?= $(QUICKCHECK_DEFAULT)
QUICKCHECK_FLAGS ?= -Wno-shadow -Wno-shadow-local QUICKCHECK_FLAGS ?= -Wno-shadow -Wno-shadow-local
$(builddir)/%.o: %.c $(IR_SPEC_GENERATED_INCLUDES) $(builddir)/%.o: %.c $(IR_SPEC_GENERATED_INCLUDES)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment