Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
explicitly disable using a conf file during the build
Browse files Browse the repository at this point in the history
  • Loading branch information
braddr committed Feb 12, 2015
1 parent 1371602 commit d5af855
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions posix.mak
Expand Up @@ -64,9 +64,9 @@ else
DOTLIB:=.a
endif

DFLAGS=$(MODEL_FLAG) -O -release -dip25 -inline -w -Isrc -Iimport $(PIC)
UDFLAGS=$(MODEL_FLAG) -O -release -dip25 -w -Isrc -Iimport $(PIC)
DDOCFLAGS=-c -w -o- -Isrc -Iimport -version=CoreDdoc
DFLAGS=$(MODEL_FLAG) -conf= -O -release -dip25 -inline -w -Isrc -Iimport $(PIC)
UDFLAGS=$(MODEL_FLAG) -conf= -O -release -dip25 -w -Isrc -Iimport $(PIC)
DDOCFLAGS=-conf= -c -w -o- -Isrc -Iimport -version=CoreDdoc

CFLAGS=$(MODEL_FLAG) -O $(PIC)
ifeq (solaris,$(OS))
Expand Down Expand Up @@ -136,7 +136,7 @@ import: $(IMPORTS)

$(IMPDIR)/core/sync/%.di : src/core/sync/%.d
@mkdir -p `dirname $@`
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $<
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $<

######################## Header .di file copy ##############################

Expand Down Expand Up @@ -175,7 +175,7 @@ $(DRUNTIMESO): $(OBJS) $(SRCS)

$(DRUNTIMESOLIB): $(OBJS) $(SRCS)
$(DMD) -c -fPIC -of$(DRUNTIMESOOBJ) $(DFLAGS) $(SRCS)
$(DMD) -lib -of$(DRUNTIMESOLIB) $(DRUNTIMESOOBJ) $(OBJS)
$(DMD) -conf= -lib -of$(DRUNTIMESOLIB) $(DRUNTIMESOOBJ) $(OBJS)

################### Library generation #########################

Expand Down
20 changes: 10 additions & 10 deletions win32.mak
Expand Up @@ -9,9 +9,9 @@ CC=dmc
DOCDIR=doc
IMPDIR=import

DFLAGS=-m$(MODEL) -O -release -dip25 -inline -w -Isrc -Iimport
UDFLAGS=-m$(MODEL) -O -release -dip25 -w -Isrc -Iimport
DDOCFLAGS=-c -w -o- -Isrc -Iimport -version=CoreDdoc
DFLAGS=-m$(MODEL) -conf= -O -release -dip25 -inline -w -Isrc -Iimport
UDFLAGS=-m$(MODEL) -conf= -O -release -dip25 -w -Isrc -Iimport
DDOCFLAGS=-conf= -c -w -o- -Isrc -Iimport -version=CoreDdoc

CFLAGS=

Expand Down Expand Up @@ -109,25 +109,25 @@ $(DOCDIR)\core_sync_semaphore.html : src\core\sync\semaphore.d
import: $(IMPORTS)

$(IMPDIR)\core\sync\barrier.di : src\core\sync\barrier.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\condition.di : src\core\sync\condition.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\config.di : src\core\sync\config.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\exception.di : src\core\sync\exception.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\mutex.di : src\core\sync\mutex.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\rwmutex.di : src\core\sync\rwmutex.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\semaphore.di : src\core\sync\semaphore.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

######################## Header .di file copy ##############################

Expand Down
20 changes: 10 additions & 10 deletions win64.mak
Expand Up @@ -15,9 +15,9 @@ CP=cp
DOCDIR=doc
IMPDIR=import

DFLAGS=-m$(MODEL) -O -release -dip25 -inline -w -Isrc -Iimport
UDFLAGS=-m$(MODEL) -O -release -dip25 -w -Isrc -Iimport
DDOCFLAGS=-c -w -o- -Isrc -Iimport -version=CoreDdoc
DFLAGS=-m$(MODEL) -conf= -O -release -dip25 -inline -w -Isrc -Iimport
UDFLAGS=-m$(MODEL) -conf= -O -release -dip25 -w -Isrc -Iimport
DDOCFLAGS=-conf= -c -w -o- -Isrc -Iimport -version=CoreDdoc

#CFLAGS=/O2 /I"$(VCDIR)"\INCLUDE /I"$(SDKDIR)"\Include
CFLAGS=/Z7 /I"$(VCDIR)"\INCLUDE /I"$(SDKDIR)"\Include
Expand Down Expand Up @@ -116,25 +116,25 @@ $(DOCDIR)\core_sync_semaphore.html : src\core\sync\semaphore.d
import: $(IMPORTS)

$(IMPDIR)\core\sync\barrier.di : src\core\sync\barrier.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\condition.di : src\core\sync\condition.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\config.di : src\core\sync\config.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\exception.di : src\core\sync\exception.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\mutex.di : src\core\sync\mutex.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\rwmutex.di : src\core\sync\rwmutex.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

$(IMPDIR)\core\sync\semaphore.di : src\core\sync\semaphore.d
$(DMD) -c -o- -Isrc -Iimport -Hf$@ $**
$(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $**

######################## Header .di file copy ##############################

Expand Down

0 comments on commit d5af855

Please sign in to comment.