rom-properties/cmake
David Korth 5a08131311 [cmake] gcc.cmake: -Wno-error=cast-align
The Ubuntu 16.04 Launchpad build for armhf failed due to a potential
alignment issue:

/<<PKGBUILDDIR>>/src/kde/AchQtDBus.cpp: In member function ‘int AchQtDBus::notifyFunc(LibRpBase::Achievements::ID)’:
/<<PKGBUILDDIR>>/src/kde/AchQtDBus.cpp:149:59: error: cast from ‘uchar* {aka unsigned char*}’ to ‘LibRpTexture::argb32_t*’ increases required alignment of target type [-Werror=cast-align]
   argb32_t *bits = reinterpret_cast<argb32_t*>(icon.bits());
                                                           ^

This shouldn't be an actual problem, since rp_image's image data is
always 16-byte aligned.

NOTE: Not rebuilding the Ubuntu 16.04 packages for ARM because of this.
(Both the armhf and arm64 builds were cancelled.)
2025-04-20 00:09:48 -04:00
..
libs [cmake] CheckPugiXML.cmake: Use FIND_LIBRARY() if FIND_PACKAGE() fails. 2025-04-11 18:28:24 -04:00
macros [cmake] CPUInstructionSetFlags.cmake: Check for arm_neon.h when building for ARM. 2025-04-13 11:47:13 -04:00
platform [cmake] gcc.cmake: -Wno-error=cast-align 2025-04-20 00:09:48 -04:00
toolchain [scripts] package.cmd: Add ARM, ARM64, and ARM64EC. 2023-07-16 18:28:21 -04:00
cmake_uninstall.cmake.in [cmake] cmake_uninstall.cmake.in: Use EXECUTE_PROCESS() instead of EXEC_PROGRAM(). 2024-03-03 12:51:03 -05:00
options.cmake Missed a few TinyXML2 remnants. Updated for PugiXML. 2025-04-02 00:19:34 -04:00
platform.cmake Remove IFUNC support. 2025-03-29 16:46:51 -04:00