git: 0d0a88d26db9 - main - graphics/gdal: disable LTO (IPO) on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Jul 2026 07:51:01 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0d0a88d26db93d60c4f3a09fbba857263176e35a
commit 0d0a88d26db93d60c4f3a09fbba857263176e35a
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-07-02 07:14:59 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-07-02 07:50:38 +0000
graphics/gdal: disable LTO (IPO) on armv7
The linker runs out of address space when LTO is enabled for this port.
Approved by: portmgr (build fix blanket)
---
graphics/gdal/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index 0e39eac0e1b6..207de1a0016e 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -60,7 +60,8 @@ CMAKE_OFF= BUILD_CSHARP_BINDINGS \
HDFS_ENABLED \
SWIG_REGENERATE_PYTHON \
${CMAKE_OFF_${ARCH}}
-CMAKE_OFF_armv7=GDAL_ENABLE_ARM_NEON_OPTIMIZATIONS
+CMAKE_OFF_armv7=GDAL_ENABLE_ARM_NEON_OPTIMIZATIONS \
+ ENABLE_IPO
CMAKE_ON= AVIF_VERSION_CHECK \
BUILD_APPS \
BUILD_SHARED_LIBS \