From: maier Date: Mon, 10 Sep 2012 20:37:50 +0000 (+0000) Subject: BUGFIX: Build C code with -fpic. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a0a32057fcf859dd0e15975156d306cebdcbaab;p=dealii-svn.git BUGFIX: Build C code with -fpic. git-svn-id: https://svn.dealii.org/branches/branch_cmake@26275 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/CMakeLists.txt b/deal.II/CMakeLists.txt index e9f696eabb..aa985c72ca 100644 --- a/deal.II/CMakeLists.txt +++ b/deal.II/CMakeLists.txt @@ -36,6 +36,7 @@ SET(CMAKE_MODULE_PATH #TODO: SET(CMAKE_CXX_FLAGS "-std=c++0x -Wfatal-errors -D_REENTRANT -fPIC -O2 -march=native") #TODO: c++0x Features umschalten +SET(CMAKE_C_FLAGS "-Wfatal-errors -D_REENTRANT -fPIC -O2 -march=native") #TODO: c++0x Features umschalten OPTION(DEAL_II_WITH_THREADS "Build deal.II with support for threads. This pulls in libtbb as a dependency." diff --git a/deal.II/CMAKE-TODO b/deal.II/cmake-TODO similarity index 76% rename from deal.II/CMAKE-TODO rename to deal.II/cmake-TODO index dadb136f2c..e9fdd300ad 100644 --- a/deal.II/CMAKE-TODO +++ b/deal.II/cmake-TODO @@ -3,8 +3,6 @@ Next steps: - convert as much of the config.h.in so that the library can be build in the current state with cmake -- Solve the Umfpack and AMD regression with the bundled libraries - - Add the version configuration to cmake - And lots of the other stuff...