diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-25 20:58:58 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-25 20:58:58 +0100 |
commit | 54419b88b5b9590e26dbf50b2985f9d0cca2fbb2 (patch) | |
tree | b75ea38eba41faa239293ae0ee9342ad1213e2c1 /mk | |
parent | a3e424eb0be7401d2b41b011f6a58650b115917b (diff) |
fix clang warning
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 617316e29..23cc018f0 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -118,7 +118,7 @@ endif # A nifty macro to make testing gcc features easier (from uClibc project) check_gcc=$(shell \ - if $(CC_FOR_BUILD) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ + if $(CC_FOR_BUILD) $(1) -Werror -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,) |