diff options
author | midipix <writeonce@midipix.org> | 2016-02-26 17:49:08 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:37 -0500 |
commit | c6e141543051c862c94501cb87113716a6097279 (patch) | |
tree | 6740cdb2a6294dbb6d7578dafb9e6b13a195433c /sysinfo/compiler | |
parent | e5d4bb6e04112cca5fe4fc79048ede646caced30 (diff) | |
download | perk-c6e141543051c862c94501cb87113716a6097279.tar.bz2 perk-c6e141543051c862c94501cb87113716a6097279.tar.xz |
build system: added fallback host recipe.
Diffstat (limited to 'sysinfo/compiler')
-rw-r--r-- | sysinfo/compiler/clang.mk | 4 | ||||
-rw-r--r-- | sysinfo/compiler/cparser.mk | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sysinfo/compiler/clang.mk b/sysinfo/compiler/clang.mk index ba9ecfc..77b4b86 100644 --- a/sysinfo/compiler/clang.mk +++ b/sysinfo/compiler/clang.mk @@ -1,9 +1,11 @@ ifeq ($(CROSS_COMPILE)x,x) CROSS_HOST = CROSS_HOST_SPEC = -else +else ifeq ($(CROSS_HOST)x,x) CROSS_HOST = $(HOST) CROSS_HOST_SPEC = --target=$(HOST) +else + CROSS_HOST_SPEC = --target=$(CROSS_HOST) endif diff --git a/sysinfo/compiler/cparser.mk b/sysinfo/compiler/cparser.mk index a57cdcc..6c4dc8e 100644 --- a/sysinfo/compiler/cparser.mk +++ b/sysinfo/compiler/cparser.mk @@ -1,9 +1,11 @@ ifeq ($(CROSS_COMPILE)x,x) CROSS_HOST = CROSS_HOST_SPEC = -else +else ifeq ($(CROSS_HOST)x,x) CROSS_HOST = $(HOST) CROSS_HOST_SPEC = --target=$(HOST) +else + CROSS_HOST_SPEC = --target=$(CROSS_HOST) endif |