From 47f390f910576d8165f788035473bf8d5ffcf7f0 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 17 Nov 2009 20:11:12 -0500 Subject: PR4037: 32-bit staprun vs. 64-bit kernels just works (tm) * configure.ac (PROCFLAGS): Don't define it. * Makefile.am: Don't use it. --- configure | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'configure') diff --git a/configure b/configure index b98c4f9c..c7d87a34 100755 --- a/configure +++ b/configure @@ -642,7 +642,6 @@ am__EXEEXT_TRUE LTLIBOBJS LIBOBJS subdirs -PROCFLAGS DATE stap_LIBS elfutils_abs_srcdir @@ -8743,19 +8742,9 @@ _ACEOF DATE="$date" - -# This procflags business is for staprun/stapio, which need to -# be compiled with the same bitness as the kernel. On e.g. PPC, -# userspace might be 32-bit default, but staprun needs to be -# 64-bit. See also bug #4037. - -processor=`uname -p` -case "$processor" in -ppc64) PROCFLAGS=-m64 ;; -x86_64) PROCFLAGS=-m64 ;; -*) PROCFLAGS="" -esac - +# Before PR4037, we used to arrange to pass CFLAGS+=-m64 for a staprun +# being compiled on 32-bit userspace but running against 64-bit kernels. +# This is no longer necessary. # Use tr1/unordered_map if available ac_ext=cpp -- cgit