mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-27 00:02:19 -08:00
raddbg: fix potentially stale cfg lookups, do not hash cfg IDs since they are just monotonically increasing
This commit is contained in:
1 parent
2db9ec1312
commit
bf000289db
4 files changed
+32
-17
No files matched your search
@@ -9,12 +9,12 @@ if [[ "$#" == "0" ]]; then raddbg='1'; fi
|
||||
if [[ "$#" == "1" && "${release:-0}" == "1" ]]; then raddbg='1'; fi
|
||||
if [[ "${asan:-0}" == "1" ]]; then
|
||||
echo "[asan enabled]"
|
||||
auto_compile_flags="-fsanitize=address"
|
||||
auto_compile_flags="$auto_compile_flags -fsanitize=address"
|
||||
fi
|
||||
|
||||
# --- Mix Git Commit ID -------------------------------------------------------
|
||||
if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
||||
auto_compile_flags="-DBUILD_GIT_HASH=\"$(git describe --always --dirty)\" -DBUILD_GIT_HASH_FULL=$(git rev-parse HEAD)"
|
||||
auto_compile_flags="$auto_compile_flags -DBUILD_GIT_HASH=\"$(git describe --always --dirty)\" -DBUILD_GIT_HASH_FULL=$(git rev-parse HEAD)"
|
||||
fi
|
||||
|
||||
# --- Compile/Link Line Definitions -------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user