mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-libs/intel-metrics-library: fix users cflags and make version
Closes: https://bugs.gentoo.org/951052 Closes: https://bugs.gentoo.org/964603 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
#============================ end_copyright_notice =============================
|
||||
|
||||
-cmake_minimum_required (VERSION 3.5)
|
||||
+cmake_minimum_required (VERSION 3.14)
|
||||
|
||||
#################################################################################
|
||||
# PROJECT
|
||||
@@ -622,7 +622,6 @@
|
||||
-Werror=format-security # treats format string security warnings as errors
|
||||
-Wno-sequence-point # disable undefined behavior warning
|
||||
-Wno-comment # allow multi-line comments
|
||||
- -Ofast # optimize code in the favor of speed
|
||||
-fstack-protector-strong # enables stack protection for vulnerable functions that contain: An array of any size and type
|
||||
-Wno-unused-but-set-parameter # disable parameter set but not used warning
|
||||
)
|
||||
+3
-4
@@ -21,7 +21,6 @@ KEYWORDS="amd64"
|
||||
DEPEND="x11-libs/libdrm"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e '/-Werror/d' -i CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0.209.1-cmake.patch"
|
||||
)
|
||||
Reference in New Issue
Block a user