]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
cmake: Build fix - LTO.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Feb 2011 23:54:35 +0000 (00:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Feb 2011 23:54:35 +0000 (00:54 +0100)
pkgs/core/cmake/cmake.nm

index b42cd1d620f8bb72092f9800ba8b56d9749d5b8e..d56ccf587578a28bec9f773a17ed92433ae0177d 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = cmake
 PKG_VER        = 2.8.2
-PKG_REL        = 0
+PKG_REL        = 1
 
 PKG_MAINTAINER =
 PKG_GROUP      = Development/Tools
@@ -34,7 +34,11 @@ PKG_URL        = http://www.cmake.org
 PKG_LICENSE    = BSD
 PKG_SUMMARY    = Cross-platform make system.
 
-PKG_BUILD_DEPS+= expat-devel gcc-c++ libcurl-devel ncurses-devel zlib-devel
+PKG_BUILD_DEPS+= expat-devel gcc-c++ libcurl-devel ncurses-devel openssl-devel zlib-devel
+
+# Add some fixes to work with lto.
+CFLAGS        += -Wl,-lpthread
+CXXFLAGS      += -Wl,-lpthread
 
 define PKG_DESCRIPTION
        CMake is used to control the software compilation process using simple \