Skip to content

Commit

Permalink
changed the -lpthread to -pthread
Browse files Browse the repository at this point in the history
  • Loading branch information
JayHuLBL committed Nov 29, 2023
1 parent 78af9c5 commit 0b18fe1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Buildings/Resources/src/ISAT/Linux/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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

Expand Down

0 comments on commit 0b18fe1

Please sign in to comment.