The Pascal RTL recipes pipe $(BLAISE) --emit-ir through sed to strip the program section before writing the .ssa file. Without pipefail, sed's exit code masks a failing compiler invocation: the recipe succeeds with an empty .ssa, QBE emits an empty .s, gcc archives an empty .o, and the first symptom is a downstream link failure with "no symbols". Set SHELL=/bin/bash and .SHELLFLAGS=-o pipefail -c at the top of the Makefile so every recipe inherits pipefail. Verified by injecting a parse error into a build driver: make now exits with Error 1 and prints the compiler's diagnostic, instead of silently producing an empty archive member. |
||
|---|---|---|
| .. | ||
| src | ||
| Makefile | ||
| project.xml | ||