Update runtime CMakeList.txt for new command line syntax regarding PIC

This commit is contained in:
Frits van Bommel
2009-03-08 09:58:26 +01:00
parent 302990a0ba
commit dc20834473

View File

@@ -13,7 +13,7 @@ option(BUILD_SINGLE_LIB "build single runtime library" ON)
set(D_FLAGS -g -w -d CACHE STRING "runtime build flags, separated by ;")
if(BUILD_SHARED_LIBS)
list(APPEND D_FLAGS -fPIC)
list(APPEND D_FLAGS -relocation-model=pic)
endif(BUILD_SHARED_LIBS)
# build tango for D1, druntime for D2