mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
build-style/cmake: set -Wno-dev
Any developers using CMake on Void hopefully try building with just CMake before building with xbps-src https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-Wno-dev https://web.archive.org/web/20240808144816/https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-Wno-dev
This commit is contained in:
parent
896abf7b1c
commit
b151869fc8
3 changed files with 3 additions and 2 deletions
|
@ -72,6 +72,9 @@ _EOF
|
||||||
|
|
||||||
cmake_args+=" -DCMAKE_INSTALL_SBINDIR:PATH=bin"
|
cmake_args+=" -DCMAKE_INSTALL_SBINDIR:PATH=bin"
|
||||||
|
|
||||||
|
# https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-Wno-dev
|
||||||
|
cmake_args+=" -Wno-dev"
|
||||||
|
|
||||||
export CMAKE_GENERATOR="${CMAKE_GENERATOR:-Ninja}"
|
export CMAKE_GENERATOR="${CMAKE_GENERATOR:-Ninja}"
|
||||||
# Remove -pipe: https://gitlab.kitware.com/cmake/cmake/issues/19590
|
# Remove -pipe: https://gitlab.kitware.com/cmake/cmake/issues/19590
|
||||||
CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" \
|
CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" \
|
||||||
|
|
|
@ -3,7 +3,6 @@ pkgname=Lucene++
|
||||||
version=3.0.7
|
version=3.0.7
|
||||||
revision=15
|
revision=15
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-Wno-dev"
|
|
||||||
makedepends="boost-devel gtest-devel"
|
makedepends="boost-devel gtest-devel"
|
||||||
short_desc="C++ port of the popular text search engine"
|
short_desc="C++ port of the popular text search engine"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
|
|
|
@ -12,7 +12,6 @@ build_style=cmake
|
||||||
# intel-media-driver, which is wholly optional and installed only on
|
# intel-media-driver, which is wholly optional and installed only on
|
||||||
# systems with supported CPUs, it doesn't make sense to change the
|
# systems with supported CPUs, it doesn't make sense to change the
|
||||||
# compilers flag in use.
|
# compilers flag in use.
|
||||||
configure_args="-Wno-dev"
|
|
||||||
short_desc="Intel Graphics Memory Management Library"
|
short_desc="Intel Graphics Memory Management Library"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
|
Loading…
Add table
Reference in a new issue