From fc07482ca2cc13eecd2507c37c3416d66bb17db5 Mon Sep 17 00:00:00 2001 From: Moshe Piekarski Date: Wed, 3 Jun 2020 13:56:38 -0400 Subject: [PATCH] Fix OpenMP build errors --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 23c97b68..ead34729 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ WXCONFIG ?= wx-config HOST= OPT_FLAGS += -fopenmp LIBS += -lgomp -WXCXXFLAGS= `$(WXCONFIG) --cxxflags` -Iudis86 -Imhash/include -MMD -Wall -O2 -DNDEBUG +WXCXXFLAGS= `$(WXCONFIG) --cxxflags` -Iudis86 -Imhash/include -fopenmp -MMD -Wall -O2 -DNDEBUG WXLDFLAGS = `$(WXCONFIG) --libs` `$(WXCONFIG) --libs aui` `$(WXCONFIG) --libs core` #add this ldflags for WinConsole "-Wl,--subsystem,console -mconsole" for win-debug #LDFLAGS += -Wl,--subsystem,console -mconsole @@ -50,7 +50,7 @@ all:$(EXECUTABLE) langs #CXX=clang++ #OPT_FLAGS=-D_Bool=bool -std=c++11 -lomp -$(OBJECTS): $(LIBS) $(SOURCES) +$(OBJECTS): $(SOURCES) MOBJECTS=$(LANGUAGES:.po=.mo)