changeset 688:9d6d32b969d7

Pass flags ADD_DFLAGS to build of runtime/internal.
author Christian Kamm <kamm incasoftware de>
date Sun, 12 Oct 2008 15:31:24 +0200
parents 0a682c7805d2
children 06c05906b054
files runtime/lib/ldc-posix.mak
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/lib/ldc-posix.mak	Sun Oct 12 15:30:58 2008 +0200
+++ b/runtime/lib/ldc-posix.mak	Sun Oct 12 15:31:24 2008 +0200
@@ -35,7 +35,7 @@
 
 ADD_CFLAGS=
 #ADD_DFLAGS=
-ADD_DFLAGS=-I`pwd`/common/
+ADD_DFLAGS=-g -I`pwd`/common/
 
 targets : lib sharedlib doc
 all     : lib sharedlib doc
@@ -52,13 +52,13 @@
 
 lib : $(ALL_OBJS)
 	make -C $(DIR_CC) -fldc.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
-	make -C $(DIR_RT) -fldc.mak lib
+	make -C $(DIR_RT) -fldc.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
 	make -C $(DIR_GC) -fldc.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
 	# could link the three parts into one here, but why should we
 
 sharedlib : $(ALL_OBJS)
 	make -C $(DIR_CC) -fldc.mak sharedlib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
-	make -C $(DIR_RT) -fldc.mak sharedlib
+	make -C $(DIR_RT) -fldc.mak sharedlib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
 	make -C $(DIR_GC) -fldc.mak sharedlib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
 	# could link the three parts into one here, but why should we