mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
parent
cb313fd39e
commit
ae72c4f894
2 changed files with 12 additions and 1 deletions
11
srcpkgs/apvlv/patches/cxxflags_from_env.patch
Normal file
11
srcpkgs/apvlv/patches/cxxflags_from_env.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/CMakeLists.txt.orig 2016-09-14 01:48:05.822928918 +0200
|
||||||
|
+++ src/CMakeLists.txt 2016-09-14 01:48:54.906931451 +0200
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
IF (WIN32)
|
||||||
|
ADD_DEFINITIONS (-D_CRT_SECURE_NO_WARNINGS)
|
||||||
|
ELSE (WIN32)
|
||||||
|
- SET (CMAKE_CXX_FLAGS "-Wall -fno-strict-aliasing")
|
||||||
|
+ SET (CMAKE_CXX_FLAGS "-Wall -fno-strict-aliasing ${CMAKE_CXX_FLAGS}")
|
||||||
|
|
||||||
|
OPTION (APVLV_ENABLE_DEBUG "If build binary with debug infomations." OFF)
|
||||||
|
IF (APVLV_ENABLE_DEBUG)
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'apvlv'
|
# Template file for 'apvlv'
|
||||||
pkgname=apvlv
|
pkgname=apvlv
|
||||||
version=0.1.5
|
version=0.1.5
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DAPVLV_WITH_UMD=no -DAPVLV_WITH_DJVU=yes -DAPVLV_WITH_TXT=yes"
|
configure_args="-DAPVLV_WITH_UMD=no -DAPVLV_WITH_DJVU=yes -DAPVLV_WITH_TXT=yes"
|
||||||
hostmakedepends="cmake pkg-config"
|
hostmakedepends="cmake pkg-config"
|
||||||
|
|
Loading…
Add table
Reference in a new issue