mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-java/swt: append-cflags -std=gnu17
Bug: https://bugs.gentoo.org/963048 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Part-of: https://github.com/gentoo/gentoo/pull/43882 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
6a819fdf96
commit
90408506dd
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -83,7 +83,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-cflags -fcommon # https://bugs.gentoo.org/707838
|
||||
append-cflags -fcommon -std=gnu17 # bug #707838, bug #963048
|
||||
|
||||
local JAWTSO="libjawt.so"
|
||||
IFS=":" read -r -a ldpaths <<< $(java-config -g LDPATH)
|
||||
|
||||
Reference in New Issue
Block a user