Skip to content
Snippets Groups Projects
Commit 4cda4378 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

build system: treat all Darwin's alike


The x86 based version of Darwin behaves the same quirky way as the powerpc
Darwin, so only check HOSTOS when setting up Darwin workarounds.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent fadad157
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ PLATFORM_LDFLAGS = ...@@ -46,7 +46,7 @@ PLATFORM_LDFLAGS =
######################################################################### #########################################################################
ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc) ifeq ($(HOSTOS),darwin)
HOSTCC = cc HOSTCC = cc
else else
HOSTCC = gcc HOSTCC = gcc
...@@ -181,7 +181,7 @@ endif ...@@ -181,7 +181,7 @@ endif
# #
# So far, this is used only by tools/gdb/Makefile. # So far, this is used only by tools/gdb/Makefile.
ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc) ifeq ($(HOSTOS),darwin)
BFD_ROOT_DIR = /usr/local/tools BFD_ROOT_DIR = /usr/local/tools
else else
ifeq ($(HOSTARCH),$(ARCH)) ifeq ($(HOSTARCH),$(ARCH))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment