Message ID | 20160728222634.GH22524@waldemar-brodkorb.de |
---|---|
State | New |
Headers | show |
diff --git a/Rules.mak b/Rules.mak index 04ff02f..8b962b4 100644 --- a/Rules.mak +++ b/Rules.mak @@ -507,7 +507,7 @@ ifeq ($(TARGET_ARCH),c6x) endif ifeq ($(TARGET_ARCH),arc) - ARC_HAS_AT_PCL_RELOC:=$(shell echo -e "\t.text\n\tadd r0,pcl,_symbol@pcl" | $(CC) -c -x assembler -o /dev/null - 2> /dev/null && echo -n y || echo -n n) + ARC_HAS_AT_PCL_RELOC:=$(shell printf "\t.text\n\tadd r0,pcl,_symbol@pcl\n" | $(CC) -c -x assembler -o /dev/null - 2>