[packages/openjdk14] continue building with -std=gnu17

atler atler at pld-linux.org
Fri May 1 02:10:16 CEST 2026


commit ee4a2bde1cd0bef17e9764e6222052ec8cd3169e
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Apr 29 17:50:21 2026 +0200

    continue building with -std=gnu17
    
    c standard used during last successful build

 openjdk14.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/openjdk14.spec b/openjdk14.spec
index b11ff0d..535fac8 100644
--- a/openjdk14.spec
+++ b/openjdk14.spec
@@ -371,8 +371,8 @@ chmod a+x configure
 %configure \
 	%{?with_zero:--with-jvm-variants=zero} \
 	--with-boot-jdk="%{java_home}" \
-	--with-extra-cflags="%{rpmcppflags} %{rpmcflags} -fcommon" \
-	--with-extra-cxxflags="%{rpmcppflags} %{rpmcxxflags} -fcommon" \
+	--with-extra-cflags="%{rpmcppflags} %{rpmcflags} -fcommon -fno-tree-dse -std=gnu17" \
+	--with-extra-cxxflags="%{rpmcppflags} %{rpmcxxflags} -fcommon -fno-tree-dse" \
 	--with-extra-ldflags="%{rpmldflags}" \
 	--with-jni-libpath="%{_libdir}/java %{_libdir} /%{_lib}" \
 	--with-jvm-features="%{?with_shenandoahgc:shenandoahgc}" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjdk14.git/commitdiff/ee4a2bde1cd0bef17e9764e6222052ec8cd3169e



More information about the pld-cvs-commit mailing list