From 0f553edcf08ca92b4b9e13e9388a21ea3c5188e5 Mon Sep 17 00:00:00 2001 From: Maxime Perrotin Date: Tue, 28 Jul 2020 11:31:54 +0200 Subject: [PATCH] Use CC and CXX variables to compile on native targets This is needed to allow Coverity and scan-build runs. --- templates/concurrency_view/c_pohi_gpr/partition.tmplt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/concurrency_view/c_pohi_gpr/partition.tmplt b/templates/concurrency_view/c_pohi_gpr/partition.tmplt index bfe35b93..63ff69e4 100644 --- a/templates/concurrency_view/c_pohi_gpr/partition.tmplt +++ b/templates/concurrency_view/c_pohi_gpr/partition.tmplt @@ -146,6 +146,9 @@ project @_CAPITALIZE:Name_@ is "remote_configuration.cc"); package Compiler is + for Driver ("C") use External ("CC", "gcc"); + for Driver ("C++") use External ("CXX", "g++"); + Common_C_Switches := ("-DTARGET=native", "-DPOSIX", -- GitLab