mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-26 05:10:03 +03:00
Use bash from path
I use NixOS which supports multiple versions of bash by storing each one in its own unique directory. The version is selected through symbolic links and the PATH variable. This means using the /usr/bin/env mechanism to invoke programs rather than hardcoded absolute paths to programs.
This commit is contained in:
parent
a218127ab3
commit
569b60675d
1 changed files with 1 additions and 1 deletions
2
makefile
2
makefile
|
@ -32,7 +32,7 @@ override GDC_FLAGS += $(DFLAGS)
|
||||||
DMD_TEST_FLAGS = -w -g -Jbin -version=StdLoggerDisableWarning
|
DMD_TEST_FLAGS = -w -g -Jbin -version=StdLoggerDisableWarning
|
||||||
override LDC_FLAGS += -O5 -release -oq -d-version=StdLoggerDisableWarning
|
override LDC_FLAGS += -O5 -release -oq -d-version=StdLoggerDisableWarning
|
||||||
override GDC_FLAGS += -O3 -frelease -d-version=StdLoggerDisableWarning
|
override GDC_FLAGS += -O3 -frelease -d-version=StdLoggerDisableWarning
|
||||||
SHELL:=/bin/bash
|
SHELL:=/usr/bin/env bash
|
||||||
|
|
||||||
all: dmdbuild
|
all: dmdbuild
|
||||||
ldc: ldcbuild
|
ldc: ldcbuild
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue