source: trunk/libs/newlib/src/config/libstdc++-raw-cxx.m4 @ 503

Last change on this file since 503 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.2 KB
Line 
1# This file is part of GCC.
2#
3# GCC is free software; you can redistribute it and/or modify it under
4# the terms of the GNU General Public License as published by the Free
5# Software Foundation; either version 3, or (at your option) any later
6# version.
7#
8# GCC is distributed in the hope that it will be useful, but WITHOUT
9# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11# for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with GCC; see the file COPYING3.  If not see
15# <http://www.gnu.org/licenses/>.
16
17# Define flags, LIBSTDCXX_RAW_CXX_CXXFLAGS and # LIBSTDCXX_RAW_CXX_LDFLAGS,
18# for libstdc++-v3 header files to compile and link libraries in C++ with
19# raw_cxx=true.
20AC_DEFUN([GCC_LIBSTDCXX_RAW_CXX_FLAGS], [
21  AC_REQUIRE([ACX_NONCANONICAL_TARGET])
22  LIBSTDCXX_RAW_CXX_CXXFLAGS="\
23    -I\$(top_builddir)/../libstdc++-v3/include \
24    -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
25    -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
26  LIBSTDCXX_RAW_CXX_LDFLAGS="\
27    \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
28  AC_SUBST(LIBSTDCXX_RAW_CXX_CXXFLAGS)
29  AC_SUBST(LIBSTDCXX_RAW_CXX_LDFLAGS)
30])
Note: See TracBrowser for help on using the repository browser.