From c18088a1365fdce7216d8a23eef2ade7b5c158ac Mon Sep 17 00:00:00 2001 From: Harsha Raghu Date: Sun, 22 Nov 2020 22:56:35 +0530 Subject: [PATCH] Update MakeFile for pthread Update MakeFile for including gcc -pthread option on build. Should fix #2 issue. --- DebugProject/Makefile | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DebugProject/Makefile b/DebugProject/Makefile index 0a2b9da..8a5333d 100644 --- a/DebugProject/Makefile +++ b/DebugProject/Makefile @@ -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 diff --git a/Makefile b/Makefile index 0a2b9da..8a5333d 100644 --- a/Makefile +++ b/Makefile @@ -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