Files
packages/anda/system/ipu6-camera-hal/0001-Drop-Werror.patch
T
Gilver aafe2ed488 fix(ipu6-camera-hal): Update patches, update build, add update script because apparently I forgot to do that (#4248)
* Update ipu6-camera-hal.spec

Signed-off-by: Gilver <rockgrub@disroot.org>

* Create update.rhai

Signed-off-by: Gilver <rockgrub@disroot.org>

* Bump commit?

Signed-off-by: Gilver <rockgrub@disroot.org>

* Nightly for date function

Signed-off-by: Gilver <rockgrub@disroot.org>

* Cursed

Signed-off-by: Gilver <rockgrub@disroot.org>

* Update ipu6-camera-hal.spec

Signed-off-by: Gilver <rockgrub@disroot.org>

* fix: Install and build

* fix: Ifcond typo

* Add myself as packager I guess

* fix: Whoops

* I am becoming the Joker

Signed-off-by: Gilver <rockgrub@disroot.org>

* Not taking anymore chances this is so annoying

Signed-off-by: Gilver <rockgrub@disroot.org>

* fix: Drop old lib file

Signed-off-by: Gilver <rockgrub@disroot.org>

* fix: Finally fully drop hal_adapter (thank God)

Signed-off-by: Gilver <rockgrub@disroot.org>

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
2025-04-26 00:59:49 +08:00

37 lines
1.4 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
From 1ec565d6b067d165cfbf8f68fc008e68fa94cfc0 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 2 Feb 2025 08:52:52 +0100
Subject: [PATCH] Drop -Werror
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Drop -Werror to stop the following false-positive gcc-15 warning
breaking the build:
/builddir/build/BUILD/ipu6-camera-hal-0.0-build/ipu6-camera-hal-b6f6eeb68f06cd0d4a2463b8950847b1b98cebaa/src/core/psysprocessor/PGCommon.cpp: In member function icamera::PGCommon::init():
/builddir/build/BUILD/ipu6-camera-hal-0.0-build/ipu6-camera-hal-b6f6eeb68f06cd0d4a2463b8950847b1b98cebaa/src/core/psysprocessor/PGCommon.cpp:122:73: error: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Werror=alloc-size-larger-than=]
122 | mPgTerminals = std::unique_ptr<uint8_t[]>(new uint8_t[mTerminalCount]);
| ^
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
CMakeLists.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f7b515a..27a20fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -80,7 +80,6 @@ message(STATUS "install prefix: " ${CMAKE_INSTALL_PREFIX})
set (CMAKE_CXX_STANDARD 11)
add_compile_options(
-Wall
- -Werror
-fstack-protector
-fPIE
-fPIC
--
2.48.1