app-admin/hardinfo2: remove patch

Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
This commit is contained in:
Quincy Fleming
2024-11-28 04:04:28 -06:00
parent 3eb1fbaf19
commit ed8cc45570
2 changed files with 4 additions and 13 deletions

View File

@@ -1,12 +0,0 @@
diff '--color=auto' -aur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2024-11-28 02:48:17.057740689 -0600
+++ b/CMakeLists.txt 2024-11-28 02:51:56.721795566 -0600
@@ -495,7 +495,7 @@
modules/benchmark/md5.c
modules/benchmark/sha1.c
PROPERTIES
- COMPILE_FLAGS "-O0 -Wall -Wextra -Werror=implicit-function-declaration"
+ COMPILE_FLAGS "-Wall -Wextra -Werror=implicit-function-declaration"
)
set_source_files_properties(

View File

@@ -43,7 +43,10 @@ RDEPEND="
"
BDEPEND="virtual/pkgconfig"
PATCHES=( "${FILESDIR}/remove-optimization-flag.patch" )
src_prepare() {
sed -i -e 's:-O0 ::' CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
filter-flags -O*