• Dmitri Vorobiev's avatar
    Remove $(ARCH) expansion from the Makefile · 3238cf4f
    Dmitri Vorobiev authored
    
    
    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: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.com>
    3238cf4f
Makefile 7.74 KB