[packages/openjdk10] continue building with -std=gnu17
atler
atler at pld-linux.org
Fri May 1 02:05:44 CEST 2026
commit a1c46de50d4b2752684532e04acf7ff83c698ca5
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
openjdk10.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openjdk10.spec b/openjdk10.spec
index e70ad00..f7eba76 100644
--- a/openjdk10.spec
+++ b/openjdk10.spec
@@ -406,7 +406,7 @@ chmod a+x configure
%configure \
%{?with_zero:--with-jvm-variants=zero} \
--with-boot-jdk="%{java_home}" \
- --with-extra-cflags="%{rpmcppflags} %{rpmcflags} -fcommon -fno-tree-dse" \
+ --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-native-debug-symbols=none \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openjdk10.git/commitdiff/ec635021b2c9929b34557d7258f45e3f5d2f84b0
More information about the pld-cvs-commit
mailing list