[packages/openjdk9] continue building with -std=gnu17
atler
atler at pld-linux.org
Fri May 1 02:04:29 CEST 2026
commit ffc79fdb6eb61dad65b67e7007b989e041520dcb
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
openjdk9.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openjdk9.spec b/openjdk9.spec
index bdfcfa1..89bc69a 100644
--- a/openjdk9.spec
+++ b/openjdk9.spec
@@ -449,7 +449,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/openjdk9.git/commitdiff/a0d49465f2ea61d7046dfc72bdb69d7ff3eb0351
More information about the pld-cvs-commit
mailing list