From 8d8134c7f69ef0c3e680699b19320165c791d75b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 31 Aug 2016 11:34:22 -0400 Subject: 0.6.6 resolves dmd frame pointer access issue (ldc was ok) * output struct hub nests output structs such as html, resolves issue with dmd frame pointer access --- makefile | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 1316889..f34bb0b 100644 --- a/makefile +++ b/makefile @@ -1,10 +1,10 @@ DMD=dmd DMD_FLAGS=-de -w -J./views -I./src/sdp -linker=ld.gold -DMD_FLAGS_RELEASE=-O -release +DMD_FLAGS_RELEASE=-O -inline -release DMD_FLAG_BINOF=-of LDC=ldc2 LDC_FLAGS=-w -J=views -I=src/sdp -linker=ld.gold -LDC_FLAGS_RELEASE=-O4 -release +LDC_FLAGS_RELEASE=-O4 -inline -release LDC_FLAG_BINOF=-of= GDC=gdc GDC_FLAGS= @@ -65,9 +65,9 @@ debug_dub: $(PRG_SRCDIR)/$(PRG_SRC) # dmd dub_dmd_release: expunge skel tangle $(DUB) $(DUB_FLAGS)dmd --config=sdp-release -dub_dmd_stamp: tangle +dub_dmd_release_stamp: clean_src skel tangle $(DUB) $(DUB_FLAGS)dmd --config=sdp-dmd -dub_dmd_release_test: tangle +dub_dmd_test_release: tangle $(DUB) $(DUB_FLAGS)dmd --config=sdp-dmd dub_dmd_debug: tangle $(DUB) $(DUB_FLAGS)dmd --config=sdp-debug-dmd @@ -80,9 +80,9 @@ dub_dmd_debug_src: # ldc2 dub_ldc_release: expunge skel tangle $(DUB) $(DUB_FLAGS)ldc2 --config=sdp-release -dub_ldc_stamp: tangle +dub_ldc_release_stamp: clean_src skel tangle $(DUB) $(DUB_FLAGS)ldc2 --config=sdp-ldc -dub_ldc_release_test: tangle +dub_ldc_test_release: tangle $(DUB) $(DUB_FLAGS)ldc2 --config=sdp-ldc dub_ldc_debug: tangle $(DUB) $(DUB_FLAGS)ldc2 --config=sdp-debug-ldc @@ -151,9 +151,13 @@ skel: init: skel -clean: +clean_bin: rm $(PRG_BINDIR)/* +clean_src: + rm -f $(PRG_SRCDIR)/*; \ + rm -rf $(PRG_SRCDIR)/$(PRG_NAME); \ + expunge: rm -f $(PRG_SRCDIR)/*; \ rm -rf $(PRG_SRCDIR)/$(PRG_NAME); \ @@ -203,5 +207,5 @@ tangle_maker: gitsnapshot: distclean tangle git commit -a .PHONY : all build rebuild debug release \ - clean distclean init \ + distclean init \ tangle gitsnapshot -- cgit v1.2.3