]>
Commit | Line | Data |
---|---|---|
2eb169cd | 1 | |
be4a1428 | 2 | ## This is used in all Makefile.am's. Set defaults here. |
2eb169cd | 3 | |
b6ca54bb | 4 | # May be used by various substitution variables. |
5 | gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) | |
6 | ||
2eb169cd | 7 | MAINT_CHARSET = latin1 |
8 | ||
9 | mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs | |
10 | PWD_COMMAND = $${PWDCMD-pwd} | |
4591e20f | 11 | STAMP = echo timestamp > |
2eb169cd | 12 | |
13 | toolexecdir = $(glibcxx_toolexecdir) | |
14 | toolexeclibdir = $(glibcxx_toolexeclibdir) | |
15 | ||
413e9930 | 16 | if ENABLE_WERROR |
17 | WERROR_FLAG=$(WERROR) | |
18 | else | |
19 | WERROR_FLAG= | |
20 | endif | |
21 | ||
2eb169cd | 22 | # These bits are all figured out from configure. Look in acinclude.m4 |
23 | # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS. | |
24 | CONFIG_CXXFLAGS = \ | |
34f4e39e | 25 | $(SECTION_FLAGS) $(HWCAP_FLAGS) $(EXTRA_CXX_FLAGS) -frandom-seed=$@ |
2eb169cd | 26 | WARN_CXXFLAGS = \ |
413e9930 | 27 | $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once |
2eb169cd | 28 | |
29 | # -I/-D flags to pass when compiling. | |
30 | AM_CPPFLAGS = $(GLIBCXX_INCLUDES) | |
31 |