Skip to content

Commit a0b4877

Browse files
committed
Add LC_ALL=C to cc-objdump-file-format.sh for awk to work properly
Signed-off-by: Ilya Denisyev <[email protected]>
1 parent 5b7acfc commit a0b4877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/lkl/scripts/cc-objdump-file-format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# Print the C compiler output file format, as determined by objdump.
55
t=`mktemp` || exit 1
66
echo 'void foo(void) {}' | $CC -x c - -c -o "$t" \
7-
&& $OBJDUMP -p "$t" | awk '/file format/ {print $4}'
7+
&& LC_ALL=C $OBJDUMP -p "$t" | awk '/file format/ {print $4}'
88
rm "$t"

0 commit comments

Comments
 (0)