diff options
author | emaste <emaste@FreeBSD.org> | 2016-07-07 20:50:59 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-07-07 20:50:59 +0000 |
commit | 7c112ea9871eb80bd5a745a831a3a17fd193ab2e (patch) | |
tree | f61314cbbff3fb71ba87fa48770d017d5e795359 /usr.bin | |
parent | 66d4dd42e524ddaf0d6d6ed9cf4179366fc36cd4 (diff) | |
download | FreeBSD-src-7c112ea9871eb80bd5a745a831a3a17fd193ab2e.zip FreeBSD-src-7c112ea9871eb80bd5a745a831a3a17fd193ab2e.tar.gz |
lorder: produce locale-independent symbol ordering
Found by the Debian reproducible builds effort -- Debian bug 830259.
Reported by: Reiner Herrmann <reiner@reiner-h.de>
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/lorder/lorder.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/lorder/lorder.sh b/usr.bin/lorder/lorder.sh index 8123c96..4b6243c 100644 --- a/usr.bin/lorder/lorder.sh +++ b/usr.bin/lorder/lorder.sh @@ -73,6 +73,7 @@ ${NM} ${NMFLAGS} -go $* | sed " d " +export LC_ALL=C # eliminate references that can be resolved by the same library. if [ $(expr "$*" : '.*\.a[[:>:]]') -ne 0 ]; then sort -u -o $S $S |