diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-31 21:15:17 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-31 21:15:17 +0200 |
commit | ef7cb0f8678ea5cf55aa210c09e8f27d262f42d9 (patch) | |
tree | 282e0c5af14f0f5a8da570b7ba96f63875234068 | |
parent | 7a575d98449780a95fc4004b179a2ea0dcd0f468 (diff) |
fix minor portability issue, use printf
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -463,7 +463,7 @@ ifeq ($(TARGET_ARCH),powerpc) # faster code. PICFLAG:=-fpic PIEFLAG_NAME:=-fpie - PPC_HAS_REL16:=$(shell echo -e "\t.text\n\taddis 11,30,_GLOBAL_OFFSET_TABLE_-.@ha" | $(CC) -c -x assembler -o /dev/null - 2> /dev/null && echo -n y || echo -n n) + PPC_HAS_REL16:=$(shell printf "\t.text\n\taddis 11,30,_GLOBAL_OFFSET_TABLE_-.@ha\n" | $(CC) -c -x assembler -o /dev/null - 2> /dev/null && echo -n y || echo -n n) CPU_CFLAGS-$(PPC_HAS_REL16)+= -DHAVE_ASM_PPC_REL16 CPU_CFLAGS-$(CONFIG_E500) += "-D__NO_MATH_INLINES" |