aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorMatthew Sachs <msachs@apple.com>2005-10-24 21:52:00 +0000
committerMatthew Sachs <msachs@apple.com>2005-10-24 21:52:00 +0000
commit47b1fd7681c96a7e2e9ebfd2cb60aba7b5de9a80 (patch)
tree1507628c5986248708518af287f35c9cdc10bb35 /GNUmakefile
parent5f9b3d6808aaef15e4e588beb55449883bc9197a (diff)
Radar 4292858
* GNUmakefile: Take HOSTS and TARGETS from RC_ARCHS if it's set. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@105868 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 5b9f57d4926..0c32911cd96 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -18,12 +18,11 @@ include $(CoreOSMakefiles)/Standard/Standard.make
# Enable Apple extensions to (gnu)make.
USE_APPLE_PB_SUPPORT = all
-HOSTS = ppc i386 # `arch`
-targets = echo $${TARGETS:-'ppc i386'}
+RC_ARCHS := ppc i386
+HOSTS = $(RC_ARCHS)
+targets = echo $(RC_ARCHS)
TARGETS := $(shell $(targets))
-RC_ARCHS = $(HOSTS)
-
SRCROOT = .
SRC = `cd $(SRCROOT) && pwd | sed s,/private,,`