diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2023-07-01 13:29:53 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2023-07-01 13:29:53 +0000 |
commit | 1d5024f4f052c12e404d42d3b5bfe9c3e9fd27c4 (patch) | |
tree | 6fe1e94529562c6260fc100add4ad3fe2ac75d4d /support | |
parent | 494714d4073502145689eafc197f5ab6ffe4c3e5 (diff) | |
download | glibc-1d5024f4f052c12e404d42d3b5bfe9c3e9fd27c4.tar glibc-1d5024f4f052c12e404d42d3b5bfe9c3e9fd27c4.tar.gz glibc-1d5024f4f052c12e404d42d3b5bfe9c3e9fd27c4.tar.bz2 glibc-1d5024f4f052c12e404d42d3b5bfe9c3e9fd27c4.zip |
support: Build with exceptions and asynchronous unwind tables [BZ #30587]
Changing tst-cleanup4.c to use xread instead of read caused
the nptl/tst-cleanupx4 test to fail. The routines in libsupport.a
need to be built with exception handling and asynchronous unwind
table support.
v2: Use "CFLAGS-.oS" instead of "override CFLAGS".
Diffstat (limited to 'support')
-rw-r--r-- | support/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support/Makefile b/support/Makefile index c81e3c928c..917a858bd1 100644 --- a/support/Makefile +++ b/support/Makefile @@ -239,6 +239,9 @@ CFLAGS-support_paths.c = \ -DCOMPLOCALEDIR_PATH=\"$(complocaledir)\" \ -DSYSCONFDIR_PATH=\"$(sysconfdir)\" +# Build with exception handling and asynchronous unwind table support. +CFLAGS-.oS += -fexceptions -fasynchronous-unwind-tables + # In support_timespec_check_in_range we may be passed a very tight # range for which we should produce a correct result for expected # being within the observed range. The code uses double internally |