diff --git a/BeefySysLib/CMakeLists.txt b/BeefySysLib/CMakeLists.txt index 12f1025d..c335cb28 100644 --- a/BeefySysLib/CMakeLists.txt +++ b/BeefySysLib/CMakeLists.txt @@ -16,7 +16,7 @@ set(OUTPUT_RELEASE Release/bin) project(${PROJECT_NAME} CXX C) -# Define Release by default. +# Define Debug by default. if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Debug") message(STATUS "Build type not specified: Use Debug by default.") diff --git a/BeefySysLib/Common.h b/BeefySysLib/Common.h index 72c0de8a..e2a61beb 100644 --- a/BeefySysLib/Common.h +++ b/BeefySysLib/Common.h @@ -15,10 +15,10 @@ inline size_t HashBytes(const uint8* ptr, size_t count) noexcept { -#ifdef BF64 +#ifdef BF64 const size_t _FNV_offset_basis = 14695981039346656037ULL; const size_t _FNV_prime = 1099511628211ULL; -#else +#else const size_t _FNV_offset_basis = 2166136261U; const size_t _FNV_prime = 16777619U; #endif @@ -29,7 +29,7 @@ inline size_t HashBytes(const uint8* ptr, size_t count) noexcept val ^= (size_t)ptr[_Next]; val *= _FNV_prime; } - return (val); + return (val); } template @@ -245,7 +245,7 @@ int16 EndianSwap(int16 val); template struct RemoveTypePointer -{ +{ }; template diff --git a/bin/build.sh b/bin/build.sh index 155770f3..3d234bed 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -37,7 +37,7 @@ if [ ! -f ../BeefySysLib/third_party/libffi/Makefile ]; then echo Building libffi... cd ../BeefySysLib/third_party/libffi ./configure - make + make cd $SCRIPTPATH fi @@ -66,9 +66,9 @@ cd ../IDE/dist if [[ "$OSTYPE" == "darwin"* ]]; then LIBEXT=dylib - LINKOPTS="-Wl,-no_compact_unwind -Wl,-rpath -Wl,@executable_path" + LINKOPTS="-Wl,-no_compact_unwind -Wl,-rpath -Wl,@executable_path" else - LIBEXT=so + LIBEXT=so LINKOPTS="-ldl -lpthread -Wl,-rpath -Wl,\$ORIGIN" fi