diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-29 04:35:52 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-29 04:39:46 -0500 |
commit | 4d4224e633a88b0703ecd886d75b5d7688b2b02d (patch) | |
tree | aa52d90af3b61cfef3695e348d6e8c00032b9327 /libsandbox/Makefile.am | |
parent | libsbutil: drop bogus inline usage (diff) | |
download | sandbox-4d4224e633a88b0703ecd886d75b5d7688b2b02d.tar.gz sandbox-4d4224e633a88b0703ecd886d75b5d7688b2b02d.tar.bz2 sandbox-4d4224e633a88b0703ecd886d75b5d7688b2b02d.zip |
move -fexceptions into a configure test
To better support non-GNU compilers out there, move -fexceptions into a
configure test.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox/Makefile.am')
-rw-r--r-- | libsandbox/Makefile.am | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libsandbox/Makefile.am b/libsandbox/Makefile.am index 3f70086..71af2c9 100644 --- a/libsandbox/Makefile.am +++ b/libsandbox/Makefile.am @@ -11,9 +11,7 @@ INCLUDES = \ -I$(top_srcdir)/libsbutil \ -I$(top_srcdir)/libsbutil/include -# We need -fexceptions here, else we do not catch exceptions -# (nptl/tst-cancelx4.c in glibc among others fails for wrapped functions). -libsandbox_la_CFLAGS = -fexceptions +libsandbox_la_CFLAGS = $(CFLAG_EXCEPTIONS) # Could use the following to libsandbox_la_LIBADD, but then libtool links it # with --whole-archive, and libsandbox.so increase with a few KB in size: # $(top_builddir)/libsbutil/libsbutil.la |