libphobos: Remove GDCFLAGSX variable from configure scripts.
Always run testsuite with same GDCFLAGS as used in build. libphobos/ChangeLog: * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Remove GDCFLAGSX. * libdruntime/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. * testsuite/testsuite_flags.in: Use GDCFLAGS in --gdcflags. * testsuite/libphobos.thread/fiber_guard_page.d: Test using -O0.
This commit is contained in:
parent
3942060c4b
commit
81e07d422c
@ -230,7 +230,6 @@ EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GDC = @GDC@
|
||||
GDCFLAGS = @GDCFLAGS@
|
||||
GDCFLAGSX = @GDCFLAGSX@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
10
libphobos/configure
vendored
10
libphobos/configure
vendored
@ -634,7 +634,6 @@ am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
WARN_DFLAGS
|
||||
GDCFLAGSX
|
||||
libtool_VERSION
|
||||
SPEC_PHOBOS_DEPS
|
||||
CHECKING_DFLAGS
|
||||
@ -11650,7 +11649,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11653 "configure"
|
||||
#line 11652 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11756,7 +11755,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11759 "configure"
|
||||
#line 11758 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -15433,11 +15432,6 @@ if test -z "$GDCFLAGS"; then
|
||||
fi
|
||||
|
||||
|
||||
if test -z "$GDCFLAGSX"; then
|
||||
GDCFLAGSX="-g"
|
||||
fi
|
||||
|
||||
|
||||
WARN_DFLAGS="-Wall $WERROR_FLAG"
|
||||
|
||||
|
||||
|
@ -256,11 +256,6 @@ if test -z "$GDCFLAGS"; then
|
||||
fi
|
||||
AC_SUBST(GDCFLAGS)
|
||||
|
||||
if test -z "$GDCFLAGSX"; then
|
||||
GDCFLAGSX="-g"
|
||||
fi
|
||||
AC_SUBST(GDCFLAGSX)
|
||||
|
||||
WARN_DFLAGS="-Wall $WERROR_FLAG"
|
||||
AC_SUBST(WARN_DFLAGS)
|
||||
|
||||
|
@ -596,7 +596,6 @@ EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GDC = @GDC@
|
||||
GDCFLAGS = @GDCFLAGS@
|
||||
GDCFLAGSX = @GDCFLAGSX@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
@ -346,7 +346,6 @@ EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GDC = @GDC@
|
||||
GDCFLAGS = @GDCFLAGS@
|
||||
GDCFLAGSX = @GDCFLAGSX@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
@ -174,7 +174,6 @@ EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GDC = @GDC@
|
||||
GDCFLAGS = @GDCFLAGS@
|
||||
GDCFLAGSX = @GDCFLAGSX@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
@ -1,3 +1,4 @@
|
||||
// { dg-options "-O0" }
|
||||
// { dg-shouldfail "segv or bus error" }
|
||||
import core.thread;
|
||||
import core.sys.posix.sys.mman;
|
||||
|
@ -28,7 +28,7 @@ case ${query} in
|
||||
;;
|
||||
--gdcflags)
|
||||
GDCFLAGS_default="-fmessage-length=0 -fno-show-column"
|
||||
GDCFLAGS_config="@WARN_DFLAGS@ @GDCFLAGSX@ -fno-release -funittest"
|
||||
GDCFLAGS_config="@WARN_DFLAGS@ @GDCFLAGS@ -fno-release -funittest"
|
||||
echo ${GDCFLAGS_default} ${GDCFLAGS_config}
|
||||
;;
|
||||
--gdcpaths)
|
||||
|
Loading…
Reference in New Issue
Block a user