summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-07-12 19:52:29 +0200
committerJose <jose@zeroc.com>2017-07-12 19:52:29 +0200
commitb99d8e6f279cba87ba8baf37a80dc9db811509c3 (patch)
treeefd085b3c1fc87034d3a5be73a86e9ffd5147bac
parentUpdate .gitignore to handle NuGet package builds (diff)
downloadice-b99d8e6f279cba87ba8baf37a80dc9db811509c3.tar.bz2
ice-b99d8e6f279cba87ba8baf37a80dc9db811509c3.tar.xz
ice-b99d8e6f279cba87ba8baf37a80dc9db811509c3.zip
ICE-8291 - warning: variable tracking size limit exceeded with -fvar-tracking-assignments
-rw-r--r--cpp/test/Ice/slicing/exceptions/Makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/Ice/slicing/exceptions/Makefile.mk b/cpp/test/Ice/slicing/exceptions/Makefile.mk
index 84f2ece17a9..a9ed6b23110 100644
--- a/cpp/test/Ice/slicing/exceptions/Makefile.mk
+++ b/cpp/test/Ice/slicing/exceptions/Makefile.mk
@@ -12,4 +12,8 @@ $(test)_client_sources = $(test-client-sources) ClientPrivate.ice
$(test)_server_sources = $(test-server-sources) ServerPrivate.ice
$(test)_serveramd_sources = $(test-serveramd-sources) ServerPrivateAMD.ice
+ifneq ($(linux_id),)
+ $(test)_cppflags += $(if $(filter yes,$(OPTIMIZE)),-fno-var-tracking-assignments)
+endif
+
tests += $(test)