瀏覽代碼

[Makefile] Don't depend on locale settings when parsing readelf

Simon Gaiser 6 年之前
父節點
當前提交
6eec7d7c48
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile.rules

+ 1 - 1
Makefile.rules

@@ -113,4 +113,4 @@ quiet_cmd_objcopy = [ $@ ]
 # check_no_reloc
 # This depends on the output of readelf command.
 quiet_cmd_check_no_reloc = [ $@ ]
-      cmd_check_no_reloc = readelf -r $^ | grep -q 'There are no relocations in this file.'
+      cmd_check_no_reloc = LC_ALL=C readelf -r $^ | grep -q 'There are no relocations in this file.'