summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-sshfs/files/patch-meson.build
blob: 34209e1f65045a3b99ddab7378c98581a98ec99c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- meson.build.orig	2018-12-22 14:33:52 UTC
+++ meson.build
@@ -19,12 +19,7 @@ int main(void) {
     (void) get_4();
     return 0;
 }'''
-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
 
-
 rst2man = find_program('rst2man', 'rst2man.py', required: false)
   
 cfg = configuration_data()
@@ -62,11 +57,6 @@ if rst2man.found()
 else
     message('rst2man not found, not building manual page.')
 endif
-
-meson.add_install_script('utils/install_helper.sh',
-                         get_option('sbindir'),
-                         get_option('bindir'))
-
 
 subdir('test')