diff --git a/configure.py b/configure.py index 0a4393261af6..5d0f8e672400 100755 --- a/configure.py +++ b/configure.py @@ -1662,6 +1662,9 @@ def dynamic_linker_option(): curdir = os.getcwd() user_cflags = args.user_cflags + f" -ffile-prefix-map={curdir}=." +# Since gcc 13, libgcc doesn't need the exception workaround +user_cflags += ' -DSEASTAR_NO_EXCEPTION_HACK' + if args.target != '': user_cflags += ' -march=' + args.target