From 1cb61b90e74887d42ccaa2f2b21cb934b61f85cb Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Tue, 10 Dec 2024 13:55:36 +0100
Subject: [PATCH] COMP: missing -pthread flag for intel icx compiler (fixes
 #3251)

---
 wmake/rules/linux64Icx/c++ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmake/rules/linux64Icx/c++ b/wmake/rules/linux64Icx/c++
index 0b834e990af..255265154b7 100644
--- a/wmake/rules/linux64Icx/c++
+++ b/wmake/rules/linux64Icx/c++
@@ -1,7 +1,7 @@
 #------------------------------------------------------------------------------
 include $(GENERAL_RULES)/Icx/c++
 
-c++ARCH    := -fp-model precise
+c++ARCH    := -pthread -fp-model precise
 
 ifneq (,$(strip $(WM_COMPILE_OPTION)))
     sinclude $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
-- 
GitLab