Blind out affinity module if OpenMP is not used. Remove obsolete pthread switch.

This commit is contained in:
Jan Eitzinger
2019-03-14 10:03:53 +01:00
parent 13f1b03e9b
commit c6bc088fa1
4 changed files with 9 additions and 7 deletions

View File

@@ -5,8 +5,8 @@ ifeq ($(ENABLE_OPENMP),true)
OPENMP = -fopenmp
endif
CFLAGS = -Ofast -ffreestanding -std=c99 -pthread $(OPENMP)
LFLAGS = -pthread $(OPENMP)
CFLAGS = -Ofast -ffreestanding -std=c99 $(OPENMP)
LFLAGS = $(OPENMP)
DEFINES = -D_GNU_SOURCE
INCLUDES =
LIBS =