From 0b18fe1eb22a97dd7ae61672a00403c1c197905b Mon Sep 17 00:00:00 2001 From: JayHuLBL Date: Tue, 28 Nov 2023 16:47:04 -0800 Subject: [PATCH] changed the -lpthread to -pthread --- Buildings/Resources/src/ISAT/Linux/makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Buildings/Resources/src/ISAT/Linux/makefile b/Buildings/Resources/src/ISAT/Linux/makefile index 18ac672247a..47d39e2289c 100644 --- a/Buildings/Resources/src/ISAT/Linux/makefile +++ b/Buildings/Resources/src/ISAT/Linux/makefile @@ -18,8 +18,8 @@ BINDIR = ../../../Library/linux$(ARCH) CC = gcc #Note that Dymola use 32bit compiler, so generated executable only support 32bit loaded library -CC_FLAGS_32 = -Wall -lm -m32 -std=c89 -pedantic -msse2 -mfpmath=sse -fcommon -pthread -CC_FLAGS_64 = -Wall -lm -m64 -std=c89 -pedantic -msse2 -mfpmath=sse -fcommon -pthread +CC_FLAGS_32 = -Wall -lm -m32 -std=c89 -pedantic -msse2 -mfpmath=sse -fcommon +CC_FLAGS_64 = -Wall -lm -m64 -std=c89 -pedantic -msse2 -mfpmath=sse -fcommon # Directory for FFD source code FFD = ../../FastFluidDynamics/ @@ -41,7 +41,7 @@ OBJS = advection.o boundary.o chen_zero_equ_model.o cosimulation.o \ usrfgh.o utility_isat.o\ LIB = libisat.so -LIBS = -lpthread -lc -lgfortran -llapack -lblas +LIBS = -pthread -lc -lgfortran -llapack -lblas # Note that -fPIC is recommended on Linux according to the Modelica specification