mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 17:53:02 +00:00
Don't assume the C++ compiler takes the same arguments as the C compiler.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2004-05-30 Albert Chin-A-Young <china@thewrittenword.com>
|
||||||
|
|
||||||
|
Don't assume the C++ compiler takes the same arguments as the C compiler
|
||||||
|
(trivial change).
|
||||||
|
* configure.ac (O0CXXFLAGS): New var.
|
||||||
|
* tests/atlocal.in (CXXFLAGS): Use it.
|
||||||
|
|
||||||
2004-05-29 Paul Eggert <eggert@cs.ucla.edu>
|
2004-05-29 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
Fix some "make check" problems with C++ reported by
|
Fix some "make check" problems with C++ reported by
|
||||||
|
|||||||
@@ -122,6 +122,8 @@ AM_MISSING_PROG([AUTOM4TE], [autom4te])
|
|||||||
AC_SUBST([GCC])
|
AC_SUBST([GCC])
|
||||||
O0CFLAGS=`echo $CFLAGS | sed 's/-O[0-9] *//'`
|
O0CFLAGS=`echo $CFLAGS | sed 's/-O[0-9] *//'`
|
||||||
AC_SUBST([O0CFLAGS])
|
AC_SUBST([O0CFLAGS])
|
||||||
|
O0CXXFLAGS=`echo $CXXFLAGS | sed 's/-O[0-9] *//'`
|
||||||
|
AC_SUBST([O0CXXFLAGS])
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile
|
||||||
config/Makefile
|
config/Makefile
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ CXX='@CXX@'
|
|||||||
BISON_CXX_WORKS='@BISON_CXX_WORKS@'
|
BISON_CXX_WORKS='@BISON_CXX_WORKS@'
|
||||||
|
|
||||||
# We want no optimization with C++, too.
|
# We want no optimization with C++, too.
|
||||||
CXXFLAGS='@O0CFLAGS@ @WARNING_CXXFLAGS@ @WERROR_CFLAGS@'
|
CXXFLAGS='@O0CXXFLAGS@ @WARNING_CXXFLAGS@ @WERROR_CFLAGS@'
|
||||||
|
|
||||||
# Are special link options needed?
|
# Are special link options needed?
|
||||||
LDFLAGS='@LDFLAGS@'
|
LDFLAGS='@LDFLAGS@'
|
||||||
|
|||||||
Reference in New Issue
Block a user