diff options
author | midipix <writeonce@midipix.org> | 2015-10-31 14:42:44 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-10-31 14:42:44 -0400 |
commit | 4b1c857c0c01c3bc40f262e8982a1493d0f8e891 (patch) | |
tree | 644ea9092ad50a80bfa5ef5c75ac6bbf6b02564c /sysinfo/toolchain | |
parent | e1fef7c8c7ae7a3a170dc6bd23e37db6763b7a3c (diff) | |
download | pemagine-4b1c857c0c01c3bc40f262e8982a1493d0f8e891.tar.bz2 pemagine-4b1c857c0c01c3bc40f262e8982a1493d0f8e891.tar.xz |
build system: gcc: add missing cross-compilation conditional.
Diffstat (limited to 'sysinfo/toolchain')
-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 |