[Gmp-commit] /var/hg/gmp: Suppress any -flto flags for running GMP_ASM_*.
mercurial at gmplib.org
mercurial at gmplib.org
Tue Jul 18 12:32:30 CEST 2023
details: /var/hg/gmp/rev/9c324044f4b5
changeset: 18392:9c324044f4b5
user: Torbjorn Granlund <tg at gmplib.org>
date: Tue Jul 18 12:32:17 2023 +0200
description:
Suppress any -flto flags for running GMP_ASM_*.
diffstat:
configure.ac | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (20 lines):
diff -r 0a227bc9263b -r 9c324044f4b5 configure.ac
--- a/configure.ac Sun Jul 16 15:51:06 2023 +0200
+++ b/configure.ac Tue Jul 18 12:32:17 2023 +0200
@@ -3738,6 +3738,8 @@
fi
if test "$gmp_asm_syntax_testing" != no; then
+ SAVE_CFLAGS="$CFLAGS"
+ CFLAGS="`echo $SAVE_CFLAGS | sed 's;-flto[-=a-z0-9]*;;g'`"
GMP_ASM_TEXT
GMP_ASM_DATA
GMP_ASM_LABEL_SUFFIX
@@ -3750,6 +3752,7 @@
GMP_ASM_LSYM_PREFIX
GMP_ASM_W32
GMP_ASM_ALIGN_LOG
+ CFLAGS="$SAVE_CFLAGS"
case $host in
arm*-*-* | aarch64*-*-* | [applem[1-9]-*-*])
More information about the gmp-commit
mailing list