re PR other/65384 (Intel MPX does not support x32)
libmpx/ PR other/65384 * configure.ac: Fix x32 test. * configure: Regenerate. From-SVN: r221378
This commit is contained in:
parent
b13c907ab3
commit
90d33d8fc9
@ -1,3 +1,9 @@
|
||||
2015-03-12 Ilya Enkovich <ilya.enkovich@intel.com>
|
||||
|
||||
PR other/65384
|
||||
* configure.ac: Fix x32 test.
|
||||
* configure: Regenerate.
|
||||
|
||||
2015-03-10 Ilya Enkovich <ilya.enkovich@intel.com>
|
||||
|
||||
* Makefile.am (SUBDIRS): Add mpxwrap when used
|
||||
|
8
libmpx/configure
vendored
8
libmpx/configure
vendored
@ -2498,7 +2498,7 @@ esac
|
||||
unset LIBMPX_SUPPORTED
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for target support for Intel MPX runtime library" >&5
|
||||
$as_echo_n "checking for target support for Intel MPX runtime library... " >&6; }
|
||||
echo "int isizeof (void *) == 4 ? 1 : -1 = { __x86_64__ };" > conftest.c
|
||||
echo "int i[sizeof (void *) == 4 ? 1 : -1] = { __x86_64__ };" > conftest.c
|
||||
if { ac_try='${CC} ${CFLAGS} -c -o conftest.o conftest.c 1>&5'
|
||||
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
||||
(eval $ac_try) 2>&5
|
||||
@ -9438,7 +9438,7 @@ _LT_EOF
|
||||
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
|
||||
&& test "$tmp_diet" = no
|
||||
then
|
||||
tmp_addflag=
|
||||
tmp_addflag=' $pic_flag'
|
||||
tmp_sharedflag='-shared'
|
||||
case $cc_basename,$host_cpu in
|
||||
pgcc*) # Portland Group C compiler
|
||||
@ -12349,8 +12349,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
|
||||
# Check if GNU C++ uses GNU ld as the underlying linker, since the
|
||||
# archiving commands below assume that GNU ld is being used.
|
||||
if test "$with_gnu_ld" = yes; then
|
||||
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
|
||||
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
|
||||
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
|
||||
|
@ -28,7 +28,7 @@ GCC_LIBSTDCXX_RAW_CXX_FLAGS
|
||||
# See if supported.
|
||||
unset LIBMPX_SUPPORTED
|
||||
AC_MSG_CHECKING([for target support for Intel MPX runtime library])
|
||||
echo "int i[sizeof (void *) == 4 ? 1 : -1] = { __x86_64__ };" > conftest.c
|
||||
echo "int i[[sizeof (void *) == 4 ? 1 : -1]] = { __x86_64__ };" > conftest.c
|
||||
if AC_TRY_COMMAND([${CC} ${CFLAGS} -c -o conftest.o conftest.c 1>&AS_MESSAGE_LOG_FD])
|
||||
then
|
||||
LIBMPX_SUPPORTED=no
|
||||
|
Loading…
Reference in New Issue
Block a user