diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-21 23:03:23 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-21 23:03:23 +0200 |
commit | 81e07d422c5026ed66e3ad72a75d0d2385be1c0a (patch) | |
tree | 5944ae9a2f091413055a264e61faa6e0b011f1bd | |
parent | 3942060c4b3168307b9e2870d81e7ca15b49760a (diff) | |
download | gcc-81e07d422c5026ed66e3ad72a75d0d2385be1c0a.zip gcc-81e07d422c5026ed66e3ad72a75d0d2385be1c0a.tar.gz gcc-81e07d422c5026ed66e3ad72a75d0d2385be1c0a.tar.bz2 |
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.
-rw-r--r-- | libphobos/Makefile.in | 1 | ||||
-rwxr-xr-x | libphobos/configure | 10 | ||||
-rw-r--r-- | libphobos/configure.ac | 5 | ||||
-rw-r--r-- | libphobos/libdruntime/Makefile.in | 1 | ||||
-rw-r--r-- | libphobos/src/Makefile.in | 1 | ||||
-rw-r--r-- | libphobos/testsuite/Makefile.in | 1 | ||||
-rw-r--r-- | libphobos/testsuite/libphobos.thread/fiber_guard_page.d | 1 | ||||
-rwxr-xr-x | libphobos/testsuite/testsuite_flags.in | 2 |
8 files changed, 4 insertions, 18 deletions
diff --git a/libphobos/Makefile.in b/libphobos/Makefile.in index b464d60..e51c215 100644 --- a/libphobos/Makefile.in +++ b/libphobos/Makefile.in @@ -230,7 +230,6 @@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GDC = @GDC@ GDCFLAGS = @GDCFLAGS@ -GDCFLAGSX = @GDCFLAGSX@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ diff --git a/libphobos/configure b/libphobos/configure index 2658cc1..c2b4913 100755 --- a/libphobos/configure +++ b/libphobos/configure @@ -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" diff --git a/libphobos/configure.ac b/libphobos/configure.ac index 9de36c8..c21da59 100644 --- a/libphobos/configure.ac +++ b/libphobos/configure.ac @@ -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) diff --git a/libphobos/libdruntime/Makefile.in b/libphobos/libdruntime/Makefile.in index 3bb023f..4130e96 100644 --- a/libphobos/libdruntime/Makefile.in +++ b/libphobos/libdruntime/Makefile.in @@ -596,7 +596,6 @@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GDC = @GDC@ GDCFLAGS = @GDCFLAGS@ -GDCFLAGSX = @GDCFLAGSX@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ diff --git a/libphobos/src/Makefile.in b/libphobos/src/Makefile.in index e1b0588..4b1ae86 100644 --- a/libphobos/src/Makefile.in +++ b/libphobos/src/Makefile.in @@ -346,7 +346,6 @@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GDC = @GDC@ GDCFLAGS = @GDCFLAGS@ -GDCFLAGSX = @GDCFLAGSX@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ diff --git a/libphobos/testsuite/Makefile.in b/libphobos/testsuite/Makefile.in index 6f0eaf8..66077fc 100644 --- a/libphobos/testsuite/Makefile.in +++ b/libphobos/testsuite/Makefile.in @@ -174,7 +174,6 @@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GDC = @GDC@ GDCFLAGS = @GDCFLAGS@ -GDCFLAGSX = @GDCFLAGSX@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ diff --git a/libphobos/testsuite/libphobos.thread/fiber_guard_page.d b/libphobos/testsuite/libphobos.thread/fiber_guard_page.d index 33a7459..49c2265 100644 --- a/libphobos/testsuite/libphobos.thread/fiber_guard_page.d +++ b/libphobos/testsuite/libphobos.thread/fiber_guard_page.d @@ -1,3 +1,4 @@ +// { dg-options "-O0" } // { dg-shouldfail "segv or bus error" } import core.thread; import core.sys.posix.sys.mman; diff --git a/libphobos/testsuite/testsuite_flags.in b/libphobos/testsuite/testsuite_flags.in index 43e4281..14b6795 100755 --- a/libphobos/testsuite/testsuite_flags.in +++ b/libphobos/testsuite/testsuite_flags.in @@ -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) |