mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-lang/uasm: fix build on newer gcc
ideally the source should be fixed upstream. but many of the existing fixes have already been reported to upstream, both by myself and others [1] [2] and upstream has not been responsive. so just patch it up with -std=gnu17 for now. 1: https://github.com/Terraspace/UASM/issues/197 2: https://github.com/Terraspace/UASM/pulls Closes: https://bugs.gentoo.org/951108 Signed-off-by: NRK <nrk@disroot.org> Closes: https://github.com/gentoo/gentoo/pull/40998 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -30,6 +30,8 @@ src_compile() {
|
||||
append-cflags -fcommon
|
||||
# https://github.com/Terraspace/UASM/issues/197
|
||||
append-cflags -Wno-error=incompatible-pointer-types
|
||||
# BUG: 951108
|
||||
append-cflags -std=gnu17
|
||||
|
||||
emake -f gccLinux64.mak \
|
||||
CC="$(tc-getCC)" \
|
||||
|
||||
@@ -31,6 +31,8 @@ src_compile() {
|
||||
append-cflags -fcommon
|
||||
# BUG: https://github.com/Terraspace/UASM/issues/197
|
||||
append-cflags -Wno-error=incompatible-pointer-types
|
||||
# BUG: 951108
|
||||
append-cflags -std=gnu17
|
||||
|
||||
emake -f Makefile-Linux-GCC-64.mak \
|
||||
CC="$(tc-getCC)" \
|
||||
|
||||
Reference in New Issue
Block a user