From 6427236a0a6b9d243f2081bd1cdb23c9710f399f Mon Sep 17 00:00:00 2001 From: j4nn <531585+j4nn@users.noreply.github.com> Date: Sat, 17 Jan 2026 09:19:13 +0100 Subject: [PATCH] fix use of std c++14 - should be used with all c++ sources otherwise object files might be incompatible, so this change forces the -std=c++14 option into the whole pe-parse lib build the use of c++14 std might be questionable as pe-parse strictly requires c++17, so it might be better to revert it from previous commit instead --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 227533f..d2d930e 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ else ifeq ($(CROSS_BUILD),x86_64) endif PEPARSE_CMAKE_OPTS += -DCMAKE_BUILD_TYPE=Release \ - -DDEFAULT_CXX_FLAGS=-Wno-deprecated-declarations \ + -DDEFAULT_CXX_FLAGS=-std=c++14 -DCMAKE_CXX_FLAGS=-Wno-deprecated-declarations \ -DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_MESSAGE_LOG_LEVEL=WARNING LDFLAGS += -Lpe-parse/build-$(CROSS_BUILD)/pe-parser-library