summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure1
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 32ee0991..2f2f6c76 100755
--- a/configure
+++ b/configure
@@ -6669,6 +6669,7 @@ echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
${elfutils_srcdir}/configure --enable-libebl-subdir=${PACKAGE_NAME} \
--includedir="${here}/include-elfutils" \
--libdir="${here}/lib-elfutils" \
+ CFLAGS="${CFLAGS/-Wall/}" \
LDFLAGS="$LDFLAGS $elfutils_rpath"
)
fi
diff --git a/configure.ac b/configure.ac
index ac931b2f..fd6659d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,6 +70,7 @@ if test $build_elfutils = yes; then
${elfutils_srcdir}/configure --enable-libebl-subdir=${PACKAGE_NAME} \
--includedir="${here}/include-elfutils" \
--libdir="${here}/lib-elfutils" \
+ CFLAGS="${CFLAGS/-Wall/}" \
LDFLAGS="$LDFLAGS $elfutils_rpath"
)
fi