Hello community,

here is the log from the commit of package nodejs12 for openSUSE:Factory 
checked in at 2020-08-15 21:19:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs12 (Old)
 and      /work/SRC/openSUSE:Factory/.nodejs12.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nodejs12"

Sat Aug 15 21:19:28 2020 rev:20 rq:826661 version:12.18.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs12/nodejs12.changes        2020-08-12 
10:29:33.064013843 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs12.new.3399/nodejs12.changes      
2020-08-15 21:20:07.795614764 +0200
@@ -1,0 +2,6 @@
+Mon Aug 10 16:36:26 UTC 2020 - Adam Majer <[email protected]>
+
+- Explicitly add -fno-strict-aliasing to CFLAGS to fix compilation
+  on Aarch64 with gcc10 (bsc#1172686)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nodejs12.spec ++++++
--- /var/tmp/diff_new_pack.9Pl7IV/_old  2020-08-15 21:20:08.799615338 +0200
+++ /var/tmp/diff_new_pack.9Pl7IV/_new  2020-08-15 21:20:08.799615338 +0200
@@ -404,8 +404,8 @@
 
 # percent-configure pulls in something that confuses node's configure
 # script, so we'll do it thus:
-export CFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags} -Wno-class-memaccess -Wno-error=return-type"
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+export CXXFLAGS="%{optflags} -Wno-class-memaccess -Wno-error=return-type 
-fno-strict-aliasing"
 export LDFLAGS="%{?build_ldflags}"
 
 %if 0%{?cc_exec:1}
@@ -453,6 +453,10 @@
 %install
 . %{SOURCE20}
 
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+export CXXFLAGS="%{optflags} -Wno-class-memaccess -Wno-error=return-type 
-fno-strict-aliasing"
+export LDFLAGS="%{?build_ldflags}"
+
 %if 0%{?cc_exec:1}
 export CC=%{?cc_exec}
 export CXX=%{?cpp_exec}
@@ -534,6 +538,10 @@
 %endif
 
 %check
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+export CXXFLAGS="%{optflags} -Wno-class-memaccess -Wno-error=return-type 
-fno-strict-aliasing"
+export LDFLAGS="%{?build_ldflags}"
+
 %if 0%{?cc_exec:1}
 export CC=%{?cc_exec}
 export CXX=%{?cpp_exec}




Reply via email to