gh-101282: Enclose BOLT_APPLY_FLAGS value in double quotes (gh-104752)

This commit is contained in:
Dong-hee Na 2023-05-24 19:10:46 +09:00 committed by GitHub
parent c8cf9b42eb
commit c43785192c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 19 deletions

3
configure generated vendored
View file

@ -8398,8 +8398,7 @@ $as_echo "$BOLT_INSTRUMENT_FLAGS" >&6; }
$as_echo_n "checking BOLT_APPLY_FLAGS... " >&6; } $as_echo_n "checking BOLT_APPLY_FLAGS... " >&6; }
if test -z "${BOLT_APPLY_FLAGS}" if test -z "${BOLT_APPLY_FLAGS}"
then then
BOLT_APPLY_FLAGS=-update-debug-sections -reorder-blocks=ext-tsp -reorder-functions=hfsort+ -split-functions -icf=1 -inline-all -split-eh -reorder-functions-use-hot-size -peepholes=none -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot BOLT_APPLY_FLAGS=" -update-debug-sections -reorder-blocks=ext-tsp -reorder-functions=hfsort+ -split-functions -icf=1 -inline-all -split-eh -reorder-functions-use-hot-size -peepholes=none -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot "
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOLT_APPLY_FLAGS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOLT_APPLY_FLAGS" >&5

View file

@ -2087,23 +2087,23 @@ if test -z "${BOLT_APPLY_FLAGS}"
then then
AS_VAR_SET( AS_VAR_SET(
[BOLT_APPLY_FLAGS], [BOLT_APPLY_FLAGS],
[m4_join([ ], [m4_normalize("
[-update-debug-sections], -update-debug-sections
[-reorder-blocks=ext-tsp], -reorder-blocks=ext-tsp
[-reorder-functions=hfsort+], -reorder-functions=hfsort+
[-split-functions], -split-functions
[-icf=1], -icf=1
[-inline-all], -inline-all
[-split-eh], -split-eh
[-reorder-functions-use-hot-size], -reorder-functions-use-hot-size
[-peepholes=none], -peepholes=none
[-jump-tables=aggressive], -jump-tables=aggressive
[-inline-ap], -inline-ap
[-indirect-call-promotion=all], -indirect-call-promotion=all
[-dyno-stats], -dyno-stats
[-use-gnu-stack], -use-gnu-stack
[-frame-opt=hot] -frame-opt=hot
)] ")]
) )
fi fi
AC_MSG_RESULT([$BOLT_APPLY_FLAGS]) AC_MSG_RESULT([$BOLT_APPLY_FLAGS])