Mercurial > projects > ldc
diff runtime/CMakeLists.txt @ 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 | 4c0df37d0421 |
children | bb57632d27ea |
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