summaryrefslogtreecommitdiff
path: root/libsanitizer/asan/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libsanitizer/asan/Makefile.am')
-rw-r--r--libsanitizer/asan/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/libsanitizer/asan/Makefile.am b/libsanitizer/asan/Makefile.am
index 45fb3b3eb5d..3da1db38847 100644
--- a/libsanitizer/asan/Makefile.am
+++ b/libsanitizer/asan/Makefile.am
@@ -5,10 +5,6 @@ gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
DEFS = -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DASAN_HAS_EXCEPTIONS=1 -DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0 -DASAN_NEEDS_SEGV=1
AM_CXXFLAGS = -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -Wno-c99-extensions
-## We require libstdc++-v3 to be in the same build tree.
-AM_CXXFLAGS += -I../../libstdc++-v3/include \
- -I../../libstdc++-v3/include/$(target_noncanonical) \
- -I$(srcdir)/../../libstdc++-v3/libsupc++
ACLOCAL_AMFLAGS = -I $(top_srcdir) -I $(top_srcdir)/config
toolexeclib_LTLIBRARIES = libasan.la
@@ -68,6 +64,8 @@ AM_MAKEFLAGS = \
"includedir=$(includedir)" \
"AR=$(AR)" \
"AS=$(AS)" \
+ "CC=$(CC)" \
+ "CXX=$(CXX)" \
"LD=$(LD)" \
"LIBCFLAGS=$(LIBCFLAGS)" \
"NM=$(NM)" \