mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-editors/ng: build w/ -std=gnu89
In 279064ccf6, a bunch of -Wno-* were
added but that isn't sufficient for the C99 porting effort. Instead,
pass -std=gnu89 which handles not making these errors out of the box.
Bug: https://bugs.gentoo.org/729234
Closes: https://bugs.gentoo.org/880419
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
@@ -34,10 +34,7 @@ src_prepare() {
|
||||
cd - >/dev/null || die
|
||||
cp sys/unix/configure . || die
|
||||
# written in K&R C
|
||||
append-flags \
|
||||
-Wno-implicit-function-declaration \
|
||||
-Wno-implicit-int \
|
||||
-Wno-return-type
|
||||
append-flags -std=gnu89
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user