[packages/nodejs] ensure NEON features are enabled on armv7hnl too

atler atler at pld-linux.org
Wed Oct 29 22:29:49 CET 2025


commit 27daf4774248cdbf0da6fe81783719c02da85992
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Oct 28 23:59:22 2025 +0100

    ensure NEON features are enabled on armv7hnl too

 nodejs.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index 9b82ba4..fee41c4 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -64,7 +64,7 @@ BuildRequires:	python3 >= 1:3.6
 BuildRequires:	python3-modules >= 1:3.6
 BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 1.752
+BuildRequires:	rpmbuild(macros) >= 2.007
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	sed >= 4.0
 BuildRequires:	xz
@@ -195,7 +195,10 @@ GYP_DEFINES="soname_version=%{sover}" \
 	--shared-zlib \
 	--with-intl=system-icu \
 	--without-corepack \
-	--without-npm
+	--without-npm \
+%ifarch %{arm_with_neon}
+	--with-arm-fpu=neon
+%endif
 
 # add LFS defines from libuv (RHBZ#892601)
 # CXXFLAGS must be exported, as it is needed for make, not gyp
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/2b362ece6b4c77abaadb2c4eaa56459b3df469d3



More information about the pld-cvs-commit mailing list