changeset 1061:616d7c90bb6a

Update runtime CMakeList.txt for new command line syntax regarding PIC
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 08 Mar 2009 09:58:26 +0100
parents 599e3d6d0dbd
children b9f9bde1707e
files runtime/CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/CMakeLists.txt	Sun Mar 08 09:57:20 2009 +0100
+++ b/runtime/CMakeLists.txt	Sun Mar 08 09:58:26 2009 +0100
@@ -13,7 +13,7 @@
 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