mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
Add LC_ALL=C to cc-objdump-file-format.sh for awk to work properly
Signed-off-by: Ilya Denisyev <dev@elkcl.ru>
This commit is contained in:
@@ -4,5 +4,5 @@
|
|||||||
# Print the C compiler output file format, as determined by objdump.
|
# Print the C compiler output file format, as determined by objdump.
|
||||||
t=`mktemp` || exit 1
|
t=`mktemp` || exit 1
|
||||||
echo 'void foo(void) {}' | $CC -x c - -c -o "$t" \
|
echo 'void foo(void) {}' | $CC -x c - -c -o "$t" \
|
||||||
&& $OBJDUMP -p "$t" | awk '/file format/ {print $4}'
|
&& LC_ALL=C $OBJDUMP -p "$t" | awk '/file format/ {print $4}'
|
||||||
rm "$t"
|
rm "$t"
|
||||||
|
|||||||
Reference in New Issue
Block a user