You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2016/07/15 21:58:22 UTC

[1/3] mesos git commit: CMake: Fixed build in 3rdparty.

Repository: mesos
Updated Branches:
  refs/heads/master 165a6c794 -> 8f829f174


CMake: Fixed build in 3rdparty.

Static libraries can't be linked to shared libraries unless the static
library is compiled with "Position Independent Code".  This adds the
`-fPIC` flag to enable that compilation mode.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e37ad85a
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e37ad85a
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e37ad85a

Branch: refs/heads/master
Commit: e37ad85ab362c987d22d90fbe6dfdd135ce61ace
Parents: d2308f6
Author: Joseph Wu <jo...@apache.org>
Authored: Fri Jul 15 14:52:17 2016 -0700
Committer: Joseph Wu <jo...@apache.org>
Committed: Fri Jul 15 14:57:01 2016 -0700

----------------------------------------------------------------------
 3rdparty/http-parser/CMakeLists.txt.template | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/e37ad85a/3rdparty/http-parser/CMakeLists.txt.template
----------------------------------------------------------------------
diff --git a/3rdparty/http-parser/CMakeLists.txt.template b/3rdparty/http-parser/CMakeLists.txt.template
index 7f7105f..9a67197 100644
--- a/3rdparty/http-parser/CMakeLists.txt.template
+++ b/3rdparty/http-parser/CMakeLists.txt.template
@@ -32,4 +32,5 @@ set(HTTP_PARSER_SRC
   )
 
 add_definitions(-D HTTP_PARSER_STRICT=0)
+add_definitions(-fPIC)
 add_library(http_parser STATIC ${HTTP_PARSER_SRC})


[3/3] mesos git commit: CMake: Fixed build in libmesos.

Posted by jo...@apache.org.
CMake: Fixed build in libmesos.

Static libraries can't be linked to shared libraries unless the static
library is compiled with "Position Independent Code".  This adds the
`-fPIC` flag to enable that compilation mode.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8f829f17
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8f829f17
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/8f829f17

Branch: refs/heads/master
Commit: 8f829f17401170ba618ab7dd485858acbf47995f
Parents: e37ad85
Author: Joseph Wu <jo...@apache.org>
Authored: Fri Jul 15 14:52:33 2016 -0700
Committer: Joseph Wu <jo...@apache.org>
Committed: Fri Jul 15 14:57:02 2016 -0700

----------------------------------------------------------------------
 src/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/8f829f17/src/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 493b6db..bde76f7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -489,6 +489,7 @@ set_target_properties(
   ${MESOS_TARGET} PROPERTIES
   VERSION ${MESOS_PACKAGE_VERSION}
   SOVERSION ${MESOS_PACKAGE_SOVERSION}
+  COMPILE_FLAGS "-fPIC"
   )
 add_dependencies(${MESOS_TARGET} ${AGENT_DEPENDENCIES})
 


[2/3] mesos git commit: CMake: Fixed build in libprocess.

Posted by jo...@apache.org.
CMake: Fixed build in libprocess.

Static libraries can't be linked to shared libraries unless the static
library is compiled with "Position Independent Code".  This adds the
`-fPIC` flag to enable that compilation mode.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d2308f69
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d2308f69
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d2308f69

Branch: refs/heads/master
Commit: d2308f695836ebfbdb9d063662a46e446826e3b5
Parents: 165a6c7
Author: Joseph Wu <jo...@apache.org>
Authored: Fri Jul 15 14:51:58 2016 -0700
Committer: Joseph Wu <jo...@apache.org>
Committed: Fri Jul 15 14:57:01 2016 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/src/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/d2308f69/3rdparty/libprocess/src/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/CMakeLists.txt b/3rdparty/libprocess/src/CMakeLists.txt
index 6641acf..d1547ef 100644
--- a/3rdparty/libprocess/src/CMakeLists.txt
+++ b/3rdparty/libprocess/src/CMakeLists.txt
@@ -92,6 +92,7 @@ set_target_properties(
   ${PROCESS_TARGET} PROPERTIES
   VERSION ${PROCESS_PACKAGE_VERSION}
   SOVERSION ${PROCESS_PACKAGE_SOVERSION}
+  COMPILE_FLAGS "-fPIC"
   )
 add_dependencies(${PROCESS_TARGET} ${PROCESS_DEPENDENCIES})