diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-26 14:37:54 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-26 14:37:54 +0100 |
commit | bb478c3653a972fae730f6ee6dc096e1b96560e8 (patch) | |
tree | dd0b86b6edd7dd7ec17a7eea3669d4bba7a40ec8 /mk | |
parent | b44cf2a9ca220035a29b282c98d6367d7cab66c0 (diff) |
check the build system compiler
Diffstat (limited to 'mk')
-rw-r--r-- | mk/vars.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/vars.mk b/mk/vars.mk index b7ec813b4..300e41aae 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -89,7 +89,7 @@ endif # A nifty macro to make testing gcc features easier (from uClibc project) check_gcc=$(shell \ - if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ + if $(CC_FOR_BUILD) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ then echo "$(1)"; else echo "$(2)"; fi) CF_FOR_BUILD=$(call check_gcc,-fhonour-copts,) |