mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 22:20:35 -04:00
PR: 231700 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Approved by: maintainer timeout (se, >2 weeks)
10 lines
391 B
Text
10 lines
391 B
Text
--- meson.build.orig 2018-09-24 22:55:28 UTC
|
|
+++ meson.build
|
|
@@ -80,7 +80,6 @@ int main(void) {
|
|
}'''
|
|
if not cc.compiles(code, args: [ '-O0', '-Werror=unused-result' ])
|
|
message('Compiler warns about unused result even when casting to void')
|
|
- add_global_arguments('-Wno-unused-result', language: 'c')
|
|
endif
|
|
|
|
# '.' will refer to current build directory, which contains config.h
|