From: Frank Ch. Eigler Date: Fri, 15 Jun 2012 19:42:22 +0000 (-0400) Subject: configury: in bundled-elfutils mode, pass -fexceptions to elfutils CFLAGS X-Git-Tag: release-1.8~3 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=c2444a96b207c3d1714b9108f539c6294b38f2d4;p=systemtap.git configury: in bundled-elfutils mode, pass -fexceptions to elfutils CFLAGS --- diff --git a/configure b/configure index bc056907b..db412a7ff 100755 --- a/configure +++ b/configure @@ -10277,7 +10277,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --exec-prefix="$exec_prefix" \ --prefix="$prefix" \ ${need_maintainer_option} \ - CFLAGS="${CFLAGS/-Wall/} $gnu89_inline_flag" \ + CFLAGS="${CFLAGS/-Wall/} $gnu89_inline_flag -fexceptions" \ LDFLAGS="$LDFLAGS $elfutils_rpath" && if test -f ${elfutils_srcdir}/config/version.h.in; then echo Found elfutils/version.h header... diff --git a/configure.ac b/configure.ac index 8559473bc..2a30ea146 100644 --- a/configure.ac +++ b/configure.ac @@ -518,7 +518,7 @@ if test $build_elfutils = yes -a $enable_translator = yes; then --exec-prefix="$exec_prefix" \ --prefix="$prefix" \ ${need_maintainer_option} \ - CFLAGS="${CFLAGS/-Wall/} $gnu89_inline_flag" \ + CFLAGS="${CFLAGS/-Wall/} $gnu89_inline_flag -fexceptions" \ LDFLAGS="$LDFLAGS $elfutils_rpath" && if test -f ${elfutils_srcdir}/config/version.h.in; then echo Found elfutils/version.h header...