Merge pull request #524 from wilzbach/fpic-by-default-phobos

Compile dscanner with -fPIC
This commit is contained in:
Sebastian Wilzbach 2017-10-01 18:27:57 +02:00 committed by GitHub
commit 285ef162f0
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ INCLUDE_PATHS = \
-Ilibddoc/src
VERSIONS =
DEBUG_VERSIONS = -version=dparse_verbose
DMD_FLAGS = -w -inline -release -O -J. -od${OBJ_DIR} -version=StdLoggerDisableWarning
DMD_FLAGS = -w -inline -release -O -J. -od${OBJ_DIR} -version=StdLoggerDisableWarning -fPIC
DMD_TEST_FLAGS = -w -g -J. -version=StdLoggerDisableWarning
all: dmdbuild
@ -32,7 +32,7 @@ githash:
git log -1 --format="%H" > githash.txt
debug:
${DC} -w -g -J. -ofdsc ${VERSIONS} ${DEBUG_VERSIONS} ${INCLUDE_PATHS} ${SRC}
${DC} -fPIC -w -g -J. -ofdsc ${VERSIONS} ${DEBUG_VERSIONS} ${INCLUDE_PATHS} ${SRC}
dmdbuild: githash $(SRC)
mkdir -p bin