forked from pool/AppStream
17 lines
656 B
Diff
17 lines
656 B
Diff
|
From: Fabian Vogt <fabian@ritter-vogt.de>
|
||
|
Subject: Fix build with GCC 7
|
||
|
|
||
|
Index: AppStream-0.12.11/meson.build
|
||
|
===================================================================
|
||
|
--- AppStream-0.12.11.orig/meson.build
|
||
|
+++ AppStream-0.12.11/meson.build
|
||
|
@@ -54,7 +54,7 @@ endif
|
||
|
|
||
|
# a few compiler warning flags we always want enabled
|
||
|
add_global_arguments('-Werror=implicit-function-declaration', '-Wno-unused-parameter', language: 'c')
|
||
|
-add_global_arguments('-Wno-unused-parameter', '-Wno-error=deprecated-copy', language: 'cpp')
|
||
|
+add_global_arguments('-Wno-unused-parameter', language: 'cpp')
|
||
|
add_global_arguments('-DAS_COMPILATION', language : 'c')
|
||
|
|
||
|
#
|