summaryrefslogtreecommitdiff
path: root/makefiles/gmake/compiler.mk
diff options
context:
space:
mode:
Diffstat (limited to 'makefiles/gmake/compiler.mk')
-rw-r--r--makefiles/gmake/compiler.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/makefiles/gmake/compiler.mk b/makefiles/gmake/compiler.mk
index 38342ce..15f2452 100644
--- a/makefiles/gmake/compiler.mk
+++ b/makefiles/gmake/compiler.mk
@@ -193,6 +193,8 @@ endif
# end of pcc section
+ifeq "$(ENABLE_THREADS)" "1"
+
# set flags for threading support using POSIX threads. This is completly different
# between compiler/platforms
ifeq "$(COMPILER)" "gcc"
@@ -252,6 +254,8 @@ PTHREADS_LIBS =
endif
endif
+endif
+
# set flags for position independend code (as required for shared libraries
# on some platforms)
ifeq "$(COMPILER)" "gcc"