diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.com> | 2017-12-27 14:43:03 +0200 |
---|---|---|
committer | Dmitri Vorobiev <dmitri.vorobiev@movial.com> | 2017-12-27 14:46:07 +0200 |
commit | 3238cf4fe7c0799f997a6c77c42b3884dc4cfa0d (patch) | |
tree | e6712f19cddd7c76f6078ddf81a0170b1125804a /fmacros.h | |
parent | 07d414731b771844fba1c18303a2185948f9c0a9 (diff) |
Remove $(ARCH) expansion from the Makefile
Some compilation environments (such as Yocto) define the ARCH
environment variable to indicate the target architecture. For
such enviroments, hiredis build fails, because the expanded
$(ARCH) variable in the Makefile gets erroneously interpreted
as an argument to the `-ggdb' command line option during the
compilation stage or as an input file name during the linking
stage.
This patch removes $(ARCH) expansions from the Makefile. This
doesn't harm cross-compilation, the latter goes fine with the
properly assigned CC environment variable. For native builds,
this patch does not imply any changes.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Diffstat (limited to 'fmacros.h')
0 files changed, 0 insertions, 0 deletions