From efff7086c66d63c62d9474eca5a3b2d21d725bfe Mon Sep 17 00:00:00 2001
From: Sylvain Joubert <joubert.sy@gmail.com>
Date: Wed, 11 Jan 2017 18:58:19 +0100
Subject: ctest_memcheck: Append sanitizers user options at the end to allow
 overriding

---
 Source/CTest/cmCTestMemCheckHandler.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx
index 4d23e45..a062e64 100644
--- a/Source/CTest/cmCTestMemCheckHandler.cxx
+++ b/Source/CTest/cmCTestMemCheckHandler.cxx
@@ -634,7 +634,7 @@ bool cmCTestMemCheckHandler::InitializeMemoryChecking()
       std::string outputFile =
         envVar + "=log_path=\"" + this->MemoryTesterOutputFile + "\"";
       this->MemoryTesterEnvironmentVariable =
-        outputFile + extraOptions + suppressionsOption;
+        outputFile + suppressionsOption + extraOptions;
       break;
     }
     default:
-- 
cgit v0.12