Do not pass host compiler sanitization flags on to linker testsuite.
authorNick Clifton <nickc@redhat.com>
Tue, 6 Sep 2016 16:35:35 +0000 (17:35 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 6 Sep 2016 16:35:35 +0000 (17:35 +0100)
commit22d6c51be8de9a091d89c0e11e6e140f333ade62
tree4446d26c5d5432641dd9aa5218bd8601a505ffbc
parent00d5215ecec4fa0a78dcc37fec9425593753eb66
Do not pass host compiler sanitization flags on to linker testsuite.

* Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
without any sanitization options.
(CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
any sanitization options.
(check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
as CFLAGS and CXXFLAGS respectively.
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in