]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/fragment.am
re PR middle-end/25530 ((unsigned / 2)*2 is not changed into unsigned &~1)
[thirdparty/gcc.git] / libstdc++-v3 / fragment.am
CommitLineData
0df3f383 1
adc8a1e3 2## This is used in all Makefile.am's. Set defaults here.
0df3f383 3
47194af4
ZW
4# May be used by various substitution variables.
5gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
6
0df3f383
PE
7MAINT_CHARSET = latin1
8
9mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
10PWD_COMMAND = $${PWDCMD-pwd}
82ba99d5 11STAMP = echo timestamp >
0df3f383
PE
12
13toolexecdir = $(glibcxx_toolexecdir)
14toolexeclibdir = $(glibcxx_toolexeclibdir)
15
b124c5c4
BK
16if ENABLE_WERROR
17WERROR_FLAG=$(WERROR)
18else
19WERROR_FLAG=
20endif
21
2077db1b
CT
22if ENABLE_EXTERN_TEMPLATE
23XTEMPLATE_FLAGS = -fno-implicit-templates
24else
25XTEMPLATE_FLAGS =
26endif
27
0df3f383
PE
28# These bits are all figured out from configure. Look in acinclude.m4
29# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
30CONFIG_CXXFLAGS = \
b1d6986c
BK
31 $(SECTION_FLAGS) $(HWCAP_FLAGS) -frandom-seed=$@
32
0df3f383 33WARN_CXXFLAGS = \
b124c5c4 34 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
0df3f383
PE
35
36# -I/-D flags to pass when compiling.
37AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
38