diff options
author | midipix <writeonce@midipix.org> | 2015-10-31 11:04:25 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:24 -0500 |
commit | 92cfcee08e475c14d9143a2f0af33720940457ee (patch) | |
tree | 2f0b0fb40a1bdbc12e6e023896db2769e61cf723 /sysinfo | |
parent | ed9e7f830e92a3e83d51e4f9f7c613aa67663b3b (diff) | |
download | perk-92cfcee08e475c14d9143a2f0af33720940457ee.tar.bz2 perk-92cfcee08e475c14d9143a2f0af33720940457ee.tar.xz |
build system: gcc: add missing cross-compilation conditional.
Diffstat (limited to 'sysinfo')
-rw-r--r-- | sysinfo/toolchain/gcc.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysinfo/toolchain/gcc.mk b/sysinfo/toolchain/gcc.mk index e0ad0d2..52a2545 100644 --- a/sysinfo/toolchain/gcc.mk +++ b/sysinfo/toolchain/gcc.mk @@ -1,5 +1,9 @@ ifeq ($(USER_CC)x,x) - CC = $(CROSS_COMPILE)$(NATIVE_CC) + ifeq ($(CROSS_COMPILE)x,x) + CC = $(CROSS_COMPILE)$(NATIVE_CC) + else + CC = $(CROSS_COMPILE)gcc + endif else CC = $(USER_CC) endif |