From dc20834473fde7f8440b174c199b2588a31bf699 Mon Sep 17 00:00:00 2001 From: Frits van Bommel Date: Sun, 8 Mar 2009 09:58:26 +0100 Subject: [PATCH] Update runtime CMakeList.txt for new command line syntax regarding PIC --- runtime/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 9204b966..559040eb 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -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