File: slof-ensure-ld-is-called-with-C-locale.patch

package info (click to toggle)
qemu 1%3A10.0.2%2Bds-2%2Bdeb13u1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 413,640 kB
  • sloc: ansic: 4,733,206; pascal: 114,769; python: 105,507; asm: 68,429; sh: 52,878; makefile: 27,470; perl: 18,778; cpp: 11,435; xml: 3,404; objc: 2,877; yacc: 2,505; php: 1,299; tcl: 1,296; lex: 1,110; sql: 71; awk: 43; sed: 35; javascript: 7
file content (20 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 22 Jun 2020 00:40:39 +0000
X-Dgit-Generated: 1:5.0-6~0~20200622~0 973dc2cba2b12d0fc4706ad75af36abcab4f6da9
Subject: slof/Makefile.gen: Ensure ld is called with the C locale.

The output of "ld -V" changes based on the environment's locale.

---

--- qemu-5.0.orig/roms/SLOF/Makefile.gen
+++ qemu-5.0/roms/SLOF/Makefile.gen
@@ -62,7 +62,7 @@ romfs_build:
 ../build_info.img:
 	@echo "$(CC)" > ../build_info.img
 	@$(CC) -v >> ../build_info.img 2>&1
-	@$(LD) -V >> ../build_info.img 2>&1
+	@LC_ALL=C $(LD) -V >> ../build_info.img 2>&1
 
 ../$(SUBBOARD).dtb:
 	@if [ -e dts/$(SUBBOARD).dts ]; then \