From: Michael Tremer Date: Sat, 19 Feb 2011 23:54:35 +0000 (+0100) Subject: cmake: Build fix - LTO. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ffa5459be348b55e8254279df8ed9463f0c100a;p=ipfire-3.x.git cmake: Build fix - LTO. --- diff --git a/pkgs/core/cmake/cmake.nm b/pkgs/core/cmake/cmake.nm index b42cd1d62..d56ccf587 100644 --- a/pkgs/core/cmake/cmake.nm +++ b/pkgs/core/cmake/cmake.nm @@ -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 \