From 2057c41f3f5071205dd8e9bf12b15d948d196957 Mon Sep 17 00:00:00 2001 From: Nadim Kobeissi Date: Wed, 11 Oct 2023 15:24:57 +0200 Subject: [PATCH] makefile: try adding both -lomp and manual path --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 39af6e160..25c9fcacd 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ endif CXX := g++ AS := nasm CXXFLAGS := -std=c++17 -Wall -pthread -flarge-source-files -Wno-unused-label -rdynamic -mavx2 $(GRPCPP_FLAGS) #-Wfatal-errors -LDFLAGS := -lprotobuf -lsodium -lgpr -lpthread -lpqxx -lpq -lgmp -lstdc++ -lgmpxx -lsecp256k1 -lcrypto -luuid -fopenmp $(GRPCPP_LIBS) $(ABSL_LIBS) -L$(LIBOMP) +LDFLAGS := -lprotobuf -lsodium -lgpr -lpthread -lpqxx -lpq -lgmp -lstdc++ -lgmpxx -lsecp256k1 -lcrypto -luuid -fopenmp -lomp $(GRPCPP_LIBS) $(ABSL_LIBS) -L$(LIBOMP) CFLAGS := -fopenmp ASFLAGS := -felf64