2 .
include "../../../Makefile.inc"
3 SRCDIR
= ${GCCDIR}/libstdc
++-v3
4 .
include "Makefile.src"
9 INSTALL_PIC_ARCHIVE
= yes
11 .PATH
: ${GCCDIR}/libiberty
12 .PATH
: ${GCCDIR}/libgcc
13 .PATH
: ${SRCDIR}/libsupc
++
15 # for now do not let the use of -flto (-Wodr...)
22 CFLAGS
+= -I
${GCCDIR}/libgcc
23 CXXFLAGS
+= -fno-implicit-templates
24 CXXFLAGS
+= -fdiagnostics-show-location
=once
25 CXXFLAGS
+= -ffunction-sections
-fdata-sections
26 SHARED_CXXFLAGS
= -D_GLIBCXX_SHARED
28 FLAGS_GROUPS
= gnu11 gnu14 mangle
29 gnu11_FLAGS
= -std
=gnu
++11
30 gnu11_FLAGS_FILES
= bad_array_length.
cc bad_array_new.
cc eh_ptr.
cc \
31 eh_aux_runtime.
cc eh_terminate.
cc eh_throw.
cc \
32 guard.
cc atexit_thread.
cc nested_exception.
cc \
33 new_handler.
cc new_op.
cc new_opnt.
cc
34 gnu14_FLAGS
= -std
=gnu
++14 -Wno-sized-deallocation
35 gnu14_FLAGS_FILES
= del_ops.
cc del_opvs.
cc
36 mangle_FLAGS
= -DHAVE_CONFIG_H
-DIN_GLIBCPP_V3
37 mangle_FLAGS_FILES
= cp-demangle.c
39 SRCS
= ${libsupc__convenience_la_SOURCES}
41 unwind.h
: unwind-generic.h
42 cp
${.ALLSRC
} ${.TARGET
}
46 beforedepend
: ${GENHD}