1
0
Fork 0
This commit is contained in:
Frank Celler 2012-03-13 16:05:08 +01:00
parent 9a8565a19a
commit d68886e994
3 changed files with 8 additions and 3 deletions

View File

@ -167,7 +167,10 @@ AvocadoServer::AvocadoServer (int argc, char** argv)
_vocbase(0) {
char* p;
_binaryPath = TRI_LocateBinaryPath(argv[0]);
p = TRI_LocateBinaryPath(argv[0]);
_binaryPath = p;
TRI_FreeString(p);
// .............................................................................
// use relative system paths

3
configure vendored
View File

@ -5312,6 +5312,7 @@ if test x$GCC == xyes; then
*)
WALLCXX="${WALLCXX} -Wstrict-null-sentinel"
WALLC="-std=gnu90 ${WALLC}"
;;
esac
@ -5319,7 +5320,7 @@ if test x$GCC == xyes; then
WALLCXX="${WALLCXX} -Weffc++"
fi
CFLAGS="${CFLAGS} -std=gnu90 ${WALLC}"
CFLAGS="${CFLAGS} ${WALLC}"
CXXFLAGS="${CXXFLAGS} ${WALLCXX}"
fi

View File

@ -100,6 +100,7 @@ if test x$GCC == xyes; then
*)
WALLCXX="${WALLCXX} -Wstrict-null-sentinel"
WALLC="-std=gnu90 ${WALLC}"
;;
esac
@ -107,7 +108,7 @@ if test x$GCC == xyes; then
WALLCXX="${WALLCXX} -Weffc++"
fi
CFLAGS="${CFLAGS} -std=gnu90 ${WALLC}"
CFLAGS="${CFLAGS} ${WALLC}"
CXXFLAGS="${CXXFLAGS} ${WALLCXX}"
fi