mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
|
|
## This is used in all Makefile.am's. Set defaults here.
|
|
|
|
# May be used by various substitution variables.
|
|
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
|
|
|
MAINT_CHARSET = latin1
|
|
|
|
mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
|
|
PWD_COMMAND = $${PWDCMD-pwd}
|
|
STAMP = echo timestamp >
|
|
|
|
toolexecdir = $(glibcxx_toolexecdir)
|
|
toolexeclibdir = $(glibcxx_toolexeclibdir)
|
|
|
|
if ENABLE_WERROR
|
|
WERROR_FLAG = -Werror
|
|
else
|
|
WERROR_FLAG =
|
|
endif
|
|
|
|
if ENABLE_EXTERN_TEMPLATE
|
|
XTEMPLATE_FLAGS = -fno-implicit-templates
|
|
else
|
|
XTEMPLATE_FLAGS =
|
|
endif
|
|
|
|
if GLIBCXX_LDBL_ALT128_COMPAT
|
|
LDBL_128_FLAGS = $(LONG_DOUBLE_128_FLAGS)
|
|
else
|
|
LDBL_128_FLAGS =
|
|
endif
|
|
|
|
# These bits are all figured out from configure. Look in acinclude.m4
|
|
# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
|
|
CONFIG_CXXFLAGS = \
|
|
$(SECTION_FLAGS) $(HWCAP_CFLAGS) -frandom-seed=$@ $(LDBL_128_FLAGS)
|
|
|
|
WARN_CXXFLAGS = \
|
|
$(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
|
|
|
|
# -I/-D flags to pass when compiling.
|
|
AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
|
|
|