Skip to content

Commit 23d8925

Browse files
authored
Add LC_ALL=C to cc-objdump-file-format.sh for awk to work properly
1 parent 5b7acfc commit 23d8925

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)