summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
-rw-r--r--configure.ac34
2 files changed, 18 insertions, 19 deletions
diff --git a/configure b/configure
index bcf2a5c..a295b5e 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/configure.ac b/configure.ac
index d5cb822..44b2ced 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])