From b0002afb3300f2d29df1d52e9a33c03db4c8f126 Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Thu, 5 May 2016 18:40:18 +0900
Subject: [PATCH 22/24] file_systems: fix gcc6 build
---
src/add-ons/kernel/file_systems/netfs/client/Jamfile | 5 +++++
src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/Jamfile | 5 +++++
src/add-ons/kernel/file_systems/userlandfs/server/Jamfile | 5 +++++
3 files changed, 15 insertions(+)
diff --git a/src/add-ons/kernel/file_systems/netfs/client/Jamfile b/src/add-ons/kernel/file_systems/netfs/client/Jamfile
index 1cb1841..8940721 100644
a
|
b
|
if $(NETFS_ADD_SERVER_LOCALHOST) {
|
27 | 27 | DEFINES += ADD_SERVER_LOCALHOST=$(NETFS_ADD_SERVER_LOCALHOST) ; |
28 | 28 | } |
29 | 29 | |
| 30 | # For GCC6 |
| 31 | if $(TARGET_GCC_VERSION_$(TARGET_PACKAGING_ARCH)[1]) = 6 { |
| 32 | SubDirC++Flags -Wno-nonnull-compare ; |
| 33 | } |
| 34 | |
30 | 35 | Addon netfs |
31 | 36 | : DebugSupport.cpp |
32 | 37 | # Locker.cpp |
diff --git a/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/Jamfile b/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/Jamfile
index cffdbab..84bb441 100644
a
|
b
|
SEARCH_SOURCE += [ FDirName $(userlandFSTop) shared ] ;
|
16 | 16 | |
17 | 17 | DEFINES += DEBUG_APP="\\\"userlandfs\\\"" ; |
18 | 18 | |
| 19 | # For GCC6 |
| 20 | if $(TARGET_GCC_VERSION_$(TARGET_PACKAGING_ARCH)[1]) = 6 { |
| 21 | SubDirC++Flags -Wno-nonnull-compare ; |
| 22 | } |
| 23 | |
19 | 24 | KernelAddon userlandfs |
20 | 25 | : AreaSupport.cpp |
21 | 26 | Debug.cpp |
diff --git a/src/add-ons/kernel/file_systems/userlandfs/server/Jamfile b/src/add-ons/kernel/file_systems/userlandfs/server/Jamfile
index 875756b..5197e43 100644
a
|
b
|
DEFINES += USER=1 ;
|
17 | 17 | DEFINES += DEBUG_APP="\\\"userlandfs_server\\\"" ; |
18 | 18 | DEFINES += BUILDING_USERLAND_FS_SERVER=1 ; |
19 | 19 | |
| 20 | # For GCC6 |
| 21 | if $(TARGET_GCC_VERSION_$(TARGET_PACKAGING_ARCH)[1]) = 6 { |
| 22 | SubDirC++Flags -Wno-nonnull-compare ; |
| 23 | } |
| 24 | |
20 | 25 | Application userlandfs_server |
21 | 26 | : |
22 | 27 | AreaSupport.cpp |