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; }
if test -z "${BOLT_APPLY_FLAGS}"
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
{ $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
AS_VAR_SET(
[BOLT_APPLY_FLAGS],
[m4_join([ ],
[-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]
)]
[m4_normalize("
-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
AC_MSG_RESULT([$BOLT_APPLY_FLAGS])