Blame config/libstdc++-raw-cxx.m4

Packit Service 706eca
# This file is part of GCC.
Packit Service 706eca
#
Packit Service 706eca
# GCC is free software; you can redistribute it and/or modify it under
Packit Service 706eca
# the terms of the GNU General Public License as published by the Free
Packit Service 706eca
# Software Foundation; either version 3, or (at your option) any later
Packit Service 706eca
# version.
Packit Service 706eca
#
Packit Service 706eca
# GCC is distributed in the hope that it will be useful, but WITHOUT
Packit Service 706eca
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
Packit Service 706eca
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
Packit Service 706eca
# for more details.
Packit Service 706eca
#
Packit Service 706eca
# You should have received a copy of the GNU General Public License
Packit Service 706eca
# along with GCC; see the file COPYING3.  If not see
Packit Service 706eca
# <http://www.gnu.org/licenses/>.
Packit Service 706eca
Packit Service 706eca
# Define flags, LIBSTDCXX_RAW_CXX_CXXFLAGS and # LIBSTDCXX_RAW_CXX_LDFLAGS,
Packit Service 706eca
# for libstdc++-v3 header files to compile and link libraries in C++ with
Packit Service 706eca
# raw_cxx=true.
Packit Service 706eca
AC_DEFUN([GCC_LIBSTDCXX_RAW_CXX_FLAGS], [
Packit Service 706eca
  AC_REQUIRE([ACX_NONCANONICAL_TARGET])
Packit Service 706eca
  LIBSTDCXX_RAW_CXX_CXXFLAGS="\
Packit Service 706eca
    -I\$(top_builddir)/../libstdc++-v3/include \
Packit Service 706eca
    -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
Packit Service 706eca
    -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
Packit Service 706eca
  LIBSTDCXX_RAW_CXX_LDFLAGS="\
Packit Service 706eca
    \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
Packit Service 706eca
  AC_SUBST(LIBSTDCXX_RAW_CXX_CXXFLAGS)
Packit Service 706eca
  AC_SUBST(LIBSTDCXX_RAW_CXX_LDFLAGS)
Packit Service 706eca
])