mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
Make sure we use -isystem
with Meson on some deps
Otherwise we get warnings on external code.
This commit is contained in:
parent
0b96c586e0
commit
12717325cc
5 changed files with 10 additions and 8 deletions
|
@ -73,6 +73,7 @@ subdir('build-utils-meson/threads')
|
|||
boost = dependency(
|
||||
'boost',
|
||||
modules : ['container'],
|
||||
include_type: 'system',
|
||||
)
|
||||
# boost is a public dependency, but not a pkg-config dependency unfortunately, so we
|
||||
# put in `deps_other`.
|
||||
|
@ -113,7 +114,7 @@ if aws_s3.found()
|
|||
'-laws-cpp-sdk-core',
|
||||
'-laws-crt-cpp',
|
||||
],
|
||||
)
|
||||
).as_system('system')
|
||||
endif
|
||||
deps_other += aws_s3
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
#include "compression.hh"
|
||||
#include "filetransfer.hh"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wswitch-enum"
|
||||
#include <aws/core/Aws.h>
|
||||
#include <aws/core/VersionConfig.h>
|
||||
#include <aws/core/auth/AWSCredentialsProvider.h>
|
||||
|
@ -27,7 +25,6 @@
|
|||
#include <aws/s3/model/ListObjectsRequest.h>
|
||||
#include <aws/s3/model/PutObjectRequest.h>
|
||||
#include <aws/transfer/TransferManager.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
using namespace Aws::Transfer;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue