mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
sysutils/fusefs-libs3: fix build with base GCC
PR: 231700 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Approved by: maintainer timeout (se, >2 weeks)
This commit is contained in:
parent
2738da4adf
commit
7f7230565b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481649
@ -12,10 +12,6 @@ COMMENT= FUSE library version 3 for filesystems implemented in userspace
|
||||
LICENSE= LGPL21
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
|
||||
|
||||
BROKEN_mips= fails to compile: unrecognized command line option "-Wno-unused-result"
|
||||
BROKEN_mips64= fails to compile: unrecognized command line option "-Wno-unused-result"
|
||||
BROKEN_powerpc64= fails to compile: unrecognized command line option "-Wno-unused-result"
|
||||
|
||||
USES= meson
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
|
10
sysutils/fusefs-libs3/files/patch-meson.build
Normal file
10
sysutils/fusefs-libs3/files/patch-meson.build
Normal file
@ -0,0 +1,10 @@
|
||||
--- 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
|
Loading…
Reference in New Issue
Block a user