mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-02 00:50:23 +00:00
fix(main/gdal): fix builds for arm
No need to revbump as the package is not uploaded to the server
This commit is contained in:
@@ -19,3 +19,11 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
-DGDAL_USE_GEOTIFF_INTERNAL=ON
|
||||
-DBUILD_PYTHON_BINDINGS=OFF
|
||||
"
|
||||
|
||||
termux_step_pre_configure () {
|
||||
if [ "${TERMUX_ARCH}" = "arm" ]; then
|
||||
## -mfpu=neon causes build failure on ARM.
|
||||
CFLAGS="${CFLAGS/-mfpu=neon/} -mfpu=vfp"
|
||||
CXXFLAGS="${CXXFLAGS/-mfpu=neon/} -mfpu=vfp"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user