1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 14:24:10 +02:00

Merge pull request #1664 from flying-dude/master

comment says the wrong thing. actually uses "Debug" by default.
This commit is contained in:
Brian Fiete 2022-07-30 11:37:08 -04:00 committed by GitHub
commit decc0c0826
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -16,7 +16,7 @@ set(OUTPUT_RELEASE Release/bin)
project(${PROJECT_NAME} CXX C) project(${PROJECT_NAME} CXX C)
# Define Release by default. # Define Debug by default.
if(NOT CMAKE_BUILD_TYPE) if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Debug") set(CMAKE_BUILD_TYPE "Debug")
message(STATUS "Build type not specified: Use Debug by default.") message(STATUS "Build type not specified: Use Debug by default.")

View file

@ -15,10 +15,10 @@
inline size_t HashBytes(const uint8* ptr, size_t count) noexcept 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_offset_basis = 14695981039346656037ULL;
const size_t _FNV_prime = 1099511628211ULL; const size_t _FNV_prime = 1099511628211ULL;
#else #else
const size_t _FNV_offset_basis = 2166136261U; const size_t _FNV_offset_basis = 2166136261U;
const size_t _FNV_prime = 16777619U; const size_t _FNV_prime = 16777619U;
#endif #endif
@ -29,7 +29,7 @@ inline size_t HashBytes(const uint8* ptr, size_t count) noexcept
val ^= (size_t)ptr[_Next]; val ^= (size_t)ptr[_Next];
val *= _FNV_prime; val *= _FNV_prime;
} }
return (val); return (val);
} }
template <typename T> template <typename T>
@ -245,7 +245,7 @@ int16 EndianSwap(int16 val);
template<typename T> template<typename T>
struct RemoveTypePointer struct RemoveTypePointer
{ {
}; };
template<typename T> template<typename T>

View file

@ -37,7 +37,7 @@ if [ ! -f ../BeefySysLib/third_party/libffi/Makefile ]; then
echo Building libffi... echo Building libffi...
cd ../BeefySysLib/third_party/libffi cd ../BeefySysLib/third_party/libffi
./configure ./configure
make make
cd $SCRIPTPATH cd $SCRIPTPATH
fi fi
@ -66,9 +66,9 @@ cd ../IDE/dist
if [[ "$OSTYPE" == "darwin"* ]]; then if [[ "$OSTYPE" == "darwin"* ]]; then
LIBEXT=dylib LIBEXT=dylib
LINKOPTS="-Wl,-no_compact_unwind -Wl,-rpath -Wl,@executable_path" LINKOPTS="-Wl,-no_compact_unwind -Wl,-rpath -Wl,@executable_path"
else else
LIBEXT=so LIBEXT=so
LINKOPTS="-ldl -lpthread -Wl,-rpath -Wl,\$ORIGIN" LINKOPTS="-ldl -lpthread -Wl,-rpath -Wl,\$ORIGIN"
fi fi