Fix gobjcopy.

This commit is contained in:
Alejandro Cabeza Romero 2026-04-08 17:50:56 +02:00
parent 39d12949e9
commit 6a7394e29b
No known key found for this signature in database
GPG Key ID: DA3D14AE478030FD

View File

@ -9,7 +9,7 @@ endif
CXX := g++
CXXFLAGS_COMMON := -std=c++11 -O3 -I. -Wno-address-of-packed-member
UNAME_S := $(shell uname -s)
MACOS_OBJCOPY := /opt/homebrew/bin/gobjcopy
MACOS_OBJCOPY := /opt/homebrew/opt/binutils/bin/gobjcopy
ifeq ($(UNAME_S),Darwin)
# On macOS CI we expect GNU objcopy from Homebrew binutils at this exact path.
ifeq ($(wildcard $(MACOS_OBJCOPY)),)