From 52824b5fbd4ab75bcef3df9aba7253953dcb8e64 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 3 Jun 2015 21:39:35 +0200 Subject: [PATCH] cmake: update to cmake-3.2.3, clean $HOST_*FLAGS to force cmake to prefer its internal headers then the toolchain ones Signed-off-by: Stephan Raue --- packages/devel/cmake/package.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/devel/cmake/package.mk b/packages/devel/cmake/package.mk index c34e68a0fb..411eb52745 100644 --- a/packages/devel/cmake/package.mk +++ b/packages/devel/cmake/package.mk @@ -17,12 +17,12 @@ ################################################################################ PKG_NAME="cmake" -PKG_VERSION="3.0.2" +PKG_VERSION="3.2.3" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="BSD" PKG_SITE="http://www.cmake.org/" -PKG_URL="http://www.cmake.org/files/v3.0/$PKG_NAME-$PKG_VERSION.tar.gz" +PKG_URL="http://www.cmake.org/files/v3.2/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS_HOST="ccache:host" PKG_PRIORITY="optional" PKG_SECTION="toolchain/devel" @@ -36,6 +36,9 @@ configure_host() { ../configure --prefix=$ROOT/$TOOLCHAIN \ --no-qt-gui --no-system-libs \ -- \ + -DCMAKE_C_FLAGS="-O2 -Wall -pipe -Wno-format-security" \ + -DCMAKE_CXX_FLAGS="-O2 -Wall -pipe -Wno-format-security" \ + -DCMAKE_EXE_LINKER_FLAGS="$HOST_LDFLAGS" \ -DBUILD_CursesDialog=0 }