Change clang openmp flags. Formatting.

This commit is contained in:
Jan Eitzinger
2020-12-09 08:44:50 +01:00
parent 89b2ecdb75
commit 7bf6790a47
3 changed files with 12 additions and 14 deletions

View File

@@ -3,11 +3,11 @@ GCC = gcc
LINKER = $(CC)
ifeq ($(ENABLE_OPENMP),true)
OPENMP = -fopenmp
OPENMP = -Xpreprocessor -fopenmp
LIBS = -lomp
endif
CFLAGS = -Ofast -ffreestanding -std=c99 $(OPENMP)
LFLAGS = $(OPENMP)
DEFINES = -D_GNU_SOURCE
INCLUDES =
LIBS =