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

atler atler at pld-linux.org
Fri May 1 02:09:17 CEST 2026


commit 41b4314e4e3f29bbed35a0759024eb132cfd145b
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

 openjdk13.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/openjdk13.spec b/openjdk13.spec
index 8deeed3..80f38e6 100644
--- a/openjdk13.spec
+++ b/openjdk13.spec
@@ -373,8 +373,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/openjdk13.git/commitdiff/41b4314e4e3f29bbed35a0759024eb132cfd145b



More information about the pld-cvs-commit mailing list