Commit 4b575607 authored by Matthias Klumpp's avatar Matthias Klumpp
Browse files

Honor environment linker/compiler flags

parent 2bffafef
......@@ -32,14 +32,14 @@ shared: shared-libs
all: libs shared-libs test
ifeq ("$(DC)","gdc")
DCFLAGS=-O2
LINKERFLAG=-Xlinker
DCFLAGS?=-O2
LINKERFLAG?=-Xlinker
DDOCFLAGS=-fsyntax-only -c -fdoc -fdoc-file=$@
DDOCINC=-fdoc-inc=
output=-o $@
else
DCFLAGS=-O
LINKERFLAG=-L
DCFLAGS?=-O
LINKERFLAG?=-L
DDOCFLAGS=-o- -Df$@
output=-of$@
endif
......
Markdown is supported
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