summaryrefslogtreecommitdiff
path: root/community/e4rat/e4rat-static_core.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-21 16:19:09 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-21 16:19:09 -0300
commit6cfdf260dd579c730267c9588c695313279d3fab (patch)
tree059f1f461cbe4a4ea8b8d1296411f7393cfb4de5 /community/e4rat/e4rat-static_core.patch
parent6a9002279308864d7a5be176049268c45d87d201 (diff)
parent1bfe053fe69237a0413f791c7af5515f25264eee (diff)
Merge branch 'master' of ssh://gparabola/abslibre-mips64el
Diffstat (limited to 'community/e4rat/e4rat-static_core.patch')
-rw-r--r--community/e4rat/e4rat-static_core.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/e4rat/e4rat-static_core.patch b/community/e4rat/e4rat-static_core.patch
new file mode 100644
index 000000000..f9aac8208
--- /dev/null
+++ b/community/e4rat/e4rat-static_core.patch
@@ -0,0 +1,15 @@
+--- src/CMakeLists.txt.orig 2012-04-16 13:52:10.993586393 +0200
++++ src/CMakeLists.txt 2012-04-16 13:52:22.503586159 +0200
+@@ -5,11 +5,7 @@
+ MESSAGE(FATAL_ERROR "Do not run cmake on subdirectories")
+ ENDIF()
+
+-if(CMAKE_SIZEOF_VOID_P MATCHES 4)
+- SET(BUILD_CORE_LIBRARY_STATIC 0)
+-else(CMAKE_SIZEOF_VOID_P MATCHES 4)
+- SET(BUILD_CORE_LIBRARY_STATIC 1)
+-endif(CMAKE_SIZEOF_VOID_P MATCHES 4)
++SET(BUILD_CORE_LIBRARY_STATIC 1)
+
+ #TODO permit link dependencies not static
+ #set(LINK_DEPENDENIES "static")