Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dlang
gtkd
Commits
4b575607
Commit
4b575607
authored
Sep 15, 2019
by
Matthias Klumpp
Browse files
Honor environment linker/compiler flags
parent
2bffafef
Changes
1
Hide whitespace changes
Inline
Side-by-side
GNUmakefile
View file @
4b575607
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment