Skip to content

Commit 04c9f2e

Browse files
committed
Add libstdc++-raw-cxx.m4
* libstdc++-raw-cxx.m4: New file.
1 parent 3061d0e commit 04c9f2e

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

config/ChangeLog

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2012-12-12 H.J. Lu <[email protected]>
2+
3+
* libstdc++-raw-cxx.m4 (GCC_LIBSTDCXX_RAW_CXX_FLAGS): Also
4+
AC_SUBST LIBSTDCXX_RAW_CXX_LDFLAGS.
5+
6+
2012-12-11 H.J. Lu <[email protected]>
7+
8+
PR sanitizer/55533
9+
* libstdc++-raw-cxx.m4: New file.
10+
111
2012-11-28 H.J. Lu <[email protected]>
212

313
* bootstrap-asan.mk: New file.

config/libstdc++-raw-cxx.m4

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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.
20+
AC_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+
-I\$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
28+
AC_SUBST(LIBSTDCXX_RAW_CXX_CXXFLAGS)
29+
AC_SUBST(LIBSTDCXX_RAW_CXX_LDFLAGS)
30+
])

0 commit comments

Comments
 (0)