Skip to content

Commit

Permalink
Update MakeFile for pthread
Browse files Browse the repository at this point in the history
Update MakeFile for including gcc -pthread option on build. Should fix #2 issue.
  • Loading branch information
ShootingKing-AM committed Nov 22, 2020
1 parent b55feb5 commit c18088a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DebugProject/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ OBJECTS = sdk/amxxmodule.cpp sockets.cpp CSocket.cpp CThreadedSockets.cpp CThrea
C_OPT_FLAGS = -DNDEBUG -O2 -funroll-loops -fomit-frame-pointer -pipe
C_DEBUG_FLAGS = -D_DEBUG -DDEBUG -g -ggdb3
C_GCC4_FLAGS = -fvisibility=hidden
CPP_GCC4_FLAGS = -fvisibility-inlines-hidden
CPP_GCC4_FLAGS = -fvisibility-inlines-hidden -pthread
CPP = gcc
CPP_OSX = clang

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ OBJECTS = sdk/amxxmodule.cpp sockets.cpp CSocket.cpp CThreadedSockets.cpp CThrea
C_OPT_FLAGS = -DNDEBUG -O2 -funroll-loops -fomit-frame-pointer -pipe
C_DEBUG_FLAGS = -D_DEBUG -DDEBUG -g -ggdb3
C_GCC4_FLAGS = -fvisibility=hidden
CPP_GCC4_FLAGS = -fvisibility-inlines-hidden
CPP_GCC4_FLAGS = -fvisibility-inlines-hidden -pthread
CPP = gcc
CPP_OSX = clang

Expand Down

0 comments on commit c18088a

Please sign in to comment.