|
From: Bart V. A. <bva...@so...> - 2018-03-18 05:13:47
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=6607590ef52fd66cb8a47e0d52bc5b06c24b0add commit 6607590ef52fd66cb8a47e0d52bc5b06c24b0add Author: Bart Van Assche <bar...@wd...> Date: Sat Mar 17 15:02:10 2018 -0700 drd/tests/Makefile.am: Use -faligned-new for C++ code if supported Diff: --- drd/tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drd/tests/Makefile.am b/drd/tests/Makefile.am index ea058ff..6a9fd23 100644 --- a/drd/tests/Makefile.am +++ b/drd/tests/Makefile.am @@ -456,7 +456,8 @@ endif AM_CFLAGS += $(AM_FLAG_M3264_PRI) @FLAG_W_EXTRA@ -Wno-inline -Wno-unused-parameter -AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) @FLAG_W_EXTRA@ -Wno-inline -Wno-unused-parameter +AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) @FLAG_W_EXTRA@ @FLAG_FALIGNED_NEW@ \ + -Wno-inline -Wno-unused-parameter LDADD = -lpthread |