[D] Workaround for an argument handling discrepancy between DMD and LDC.
See http://dsource.org/projects/ldc/ticket/380 for the corresponding LDC ticket. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e120dfcc70
commit
7903475571
1 changed files with 3 additions and 1 deletions
|
|
@ -1258,8 +1258,10 @@ d_cpp: $(SRCS)
|
|||
# Compile D files
|
||||
# ----------------------------------------------------------------
|
||||
|
||||
# Clear the DFLAGS environment variable for the compiler call itself
|
||||
# to work around a discrepancy in argument handling between DMD and LDC.
|
||||
d_compile: $(SRCS)
|
||||
$(COMPILETOOL) $(DCOMPILER) $(DFLAGS) $(DSRCS)
|
||||
DFLAGS="" $(COMPILETOOL) $(DCOMPILER) $(DFLAGS) $(DSRCS)
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Clean the D examples
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue