mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-libs/librist: don't use '-Werror' (-pedantic-errors)
Closes: https://bugs.gentoo.org/969868 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
https://bugs.gentoo.org/969868
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -150,7 +150,7 @@ void test(void) {
|
||||
endif
|
||||
deps += [ lib_rt ]
|
||||
endif
|
||||
- add_project_arguments(['-Wshadow', '-pedantic-errors'], language: 'c')
|
||||
+ add_project_arguments(['-Wshadow'], language: 'c')
|
||||
add_project_arguments(cc.get_supported_arguments([
|
||||
'-Wundef',
|
||||
'-Werror=vla',
|
||||
@@ -30,7 +30,8 @@ BDEPEND="
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/librist-0.2.11-mbedtls-3.patch"
|
||||
"${FILESDIR}/${PN}-0.2.11-mbedtls-3.patch"
|
||||
"${FILESDIR}/${PN}-0.2.11-no-pedantic-errors.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user