annotate libstdc++-v3/fragment.am @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 84e7813d76e9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1
kono
parents:
diff changeset
2 ## This is used in all Makefile.am's. Set defaults here.
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 # May be used by various substitution variables.
kono
parents:
diff changeset
5 gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 MAINT_CHARSET = latin1
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
kono
parents:
diff changeset
10 PWD_COMMAND = $${PWDCMD-pwd}
kono
parents:
diff changeset
11 STAMP = echo timestamp >
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 toolexecdir = $(glibcxx_toolexecdir)
kono
parents:
diff changeset
14 toolexeclibdir = $(glibcxx_toolexeclibdir)
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 if ENABLE_WERROR
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
17 WERROR_FLAG = -Werror
111
kono
parents:
diff changeset
18 else
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
19 WERROR_FLAG =
111
kono
parents:
diff changeset
20 endif
kono
parents:
diff changeset
21
kono
parents:
diff changeset
22 if ENABLE_EXTERN_TEMPLATE
kono
parents:
diff changeset
23 XTEMPLATE_FLAGS = -fno-implicit-templates
kono
parents:
diff changeset
24 else
kono
parents:
diff changeset
25 XTEMPLATE_FLAGS =
kono
parents:
diff changeset
26 endif
kono
parents:
diff changeset
27
kono
parents:
diff changeset
28 # These bits are all figured out from configure. Look in acinclude.m4
kono
parents:
diff changeset
29 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
kono
parents:
diff changeset
30 CONFIG_CXXFLAGS = \
kono
parents:
diff changeset
31 $(SECTION_FLAGS) $(HWCAP_CFLAGS) -frandom-seed=$@
kono
parents:
diff changeset
32
kono
parents:
diff changeset
33 WARN_CXXFLAGS = \
kono
parents:
diff changeset
34 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36 # -I/-D flags to pass when compiling.
kono
parents:
diff changeset
37 AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
kono
parents:
diff changeset
38