Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions posix.mak
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ IMPDIR=import
OPTIONAL_PIC:=$(if $(PIC),-fPIC,)
OPTIONAL_COVERAGE:=$(if $(TEST_COVERAGE),-cov,)

export OPTIONAL_PIC

ifeq (osx,$(OS))
DOTDLL:=.dylib
DOTLIB:=.a
Expand Down
4 changes: 3 additions & 1 deletion test/common.mak
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ ifneq (default,$(MODEL))
MODEL_FLAG:=-m$(MODEL)
endif
CFLAGS:=$(MODEL_FLAG) -Wall
DFLAGS:=$(MODEL_FLAG) -w -I../../src -I../../import -I$(SRC) -defaultlib= -debuglib=
DFLAGS:=$(MODEL_FLAG) -dip1000 -w -I../../src -I../../import -I$(SRC) -defaultlib= -debuglib= \
$(OPTIONAL_PIC)

# LINK_SHARED may be set by importing makefile
DFLAGS+=$(if $(LINK_SHARED),-L$(DRUNTIMESO),-L$(DRUNTIME))
ifeq ($(BUILD),debug)
Expand Down