mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
Fix a bug that caused problems when building the compiler in a
Estimated hours taken: 0.25 Mmakefile: Fix a bug that caused problems when building the compiler in a grade with profiling enabled: it was using an (unset) shell variable $$grade when it should have been using the Make variable $(GRADE).
This commit is contained in:
@@ -113,7 +113,7 @@ scripts:
|
||||
|
||||
.PHONY: boehm_gc
|
||||
boehm_gc: scripts
|
||||
case "$$grade" in \
|
||||
case $(GRADE) in \
|
||||
*.prof*) \
|
||||
prof=_prof \
|
||||
;; \
|
||||
@@ -311,7 +311,7 @@ install_trace: trace
|
||||
|
||||
.PHONY: install_boehm_gc
|
||||
install_boehm_gc: boehm_gc
|
||||
case "$$grade" in \
|
||||
case $(GRADE) in \
|
||||
*.prof*) \
|
||||
prof=_prof \
|
||||
;; \
|
||||
|
||||
Reference in New Issue
Block a user