summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jamroot.jam7
-rw-r--r--netfs/Jamfile.jam15
-rw-r--r--netfs/fuseapp.cpp5
3 files changed, 26 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 794d6de..1c2bea6 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -3,6 +3,13 @@ using gcc ;
import type : register ;
import generators : register-standard ;
+project
+ : requirements
+ <variant>release:<cflags>"-std=c++0x"
+ <variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++0x"
+ <variant>debug:<linkflags>"-Wl,-z,defs"
+ ;
+
import type ;
import generators ;
import feature ;
diff --git a/netfs/Jamfile.jam b/netfs/Jamfile.jam
index 1c6b938..7f5fbee 100644
--- a/netfs/Jamfile.jam
+++ b/netfs/Jamfile.jam
@@ -6,13 +6,20 @@ alias libxml2 : : : :
lib boost_regex : : <name>boost_regex ;
lib boost_filesystem : : <name>boost_filesystem ;
+lib boost_system : : <name>boost_system ;
lib boost_random : : <name>boost_random ;
lib boost_thread : : <name>boost_thread ;
lib Ice : : <name>Ice ;
+lib IceUtil : : <name>IceUtil ;
+lib IceBox : : <name>IceBox ;
+lib pthread : : <name>pthread ;
lib fuse : : <name>fuse ;
lib netfsComms :
netfsComms.ice :
+ <library>Ice
+ <library>IceUtil
+ <library>pthread
;
lib netfsCommon :
@@ -21,7 +28,10 @@ lib netfsCommon :
<define>_FILE_OFFSET_BITS=64
<include>../libmisc
<library>libxml2
- <implicit-dependency>netfsComms
+ <library>netfsComms
+ <library>boost_thread
+ <library>Ice
+ <library>IceUtil
;
cpp-pch pchFuse : pchCommon pchFuse.hpp :
@@ -83,7 +93,10 @@ lib netfsd :
<library>boost_random
<library>boost_thread
<library>boost_filesystem
+ <library>boost_system
<library>Ice
+ <library>IceUtil
+ <library>IceBox
<library>libxml2
;
diff --git a/netfs/fuseapp.cpp b/netfs/fuseapp.cpp
index 1dbe5bf..6f58ec2 100644
--- a/netfs/fuseapp.cpp
+++ b/netfs/fuseapp.cpp
@@ -308,6 +308,11 @@ FuseAppBase::run(int & argc, char** & argv, FuseAppBase * fa)
0,
0,
0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
0
};
struct fuse_args args = FUSE_ARGS_INIT(argc, argv);