This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
via 59fa7fd65a08ed7edc8b949cb1cd6a6bdc486eb0 (commit)
from 3c2d96a8ce8d4b9622648ad78dfb82a4db5c233c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 59fa7fd65a08ed7edc8b949cb1cd6a6bdc486eb0
Author: darc <da...@pr...>
Date: Tue Jun 24 17:08:38 2025 -0500
dc-chain: Make GDB CPATH and LIBRARY_PATH exports for macOS conditional
In the default case, we specify the CPATH and LIBRARY_PATH
environment variables for users using the Homebrew package
manager, which is the most common case. By making these
variables conditional, we allow users of other package
managers to specify their own environment variables here.
-----------------------------------------------------------------------
Summary of changes:
utils/dc-chain/scripts/gdb.mk | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/utils/dc-chain/scripts/gdb.mk b/utils/dc-chain/scripts/gdb.mk
index 30233338..595a16fd 100644
--- a/utils/dc-chain/scripts/gdb.mk
+++ b/utils/dc-chain/scripts/gdb.mk
@@ -26,13 +26,13 @@ build_gdb: $(stamp_gdb_build)
ifeq ($(MACOS), 1)
ifeq ($(uname_m),arm64)
$(info Fixing up MacOS arm64 environment variables)
- $(stamp_gdb_build): export CPATH := /opt/homebrew/include
- $(stamp_gdb_build): export LIBRARY_PATH := /opt/homebrew/lib
+ $(stamp_gdb_build): export CPATH ?= /opt/homebrew/include
+ $(stamp_gdb_build): export LIBRARY_PATH ?= /opt/homebrew/lib
endif
ifeq ($(uname_m),x86_64)
$(info Fixing up MacOS x86_64 environment variables)
- $(stamp_gdb_build): export CPATH := /usr/local/include
- $(stamp_gdb_build): export LIBRARY_PATH := /usr/local/lib
+ $(stamp_gdb_build): export CPATH ?= /usr/local/include
+ $(stamp_gdb_build): export LIBRARY_PATH ?= /usr/local/lib
endif
endif
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|