From 248a6980cfb43ac4623af914ae4baa88c1eee66b Mon Sep 17 00:00:00 2001 From: "Kirill A. Korinsky" Date: Sat, 27 Nov 2021 13:22:54 +0100 Subject: [PATCH] Revert `-std=c++14` This commit reverts 648fa30f22ae195f591210d7d2fa264e69b233ae which was removed by d60c46371dc011808c253ca664539835fb0a9e02 which is fixed https://github.com/upx/upx/issues/440 --- src/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile b/src/Makefile index 6681169a..86c706c0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -91,6 +91,7 @@ CXXFLAGS_WERROR ?= -Werror # Mandatory Flags - DO NOT CHANGE! mf.CPPFLAGS += $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) +mf.CXXFLAGS += -std=c++14 mf.CXXFLAGS += $(CXXFLAGS_OPTIMIZE) # protect against security threats caused by misguided C++ compiler "optimizations" mf.CXXFLAGS += $(CXXFLAGS_NO_DELETE_NULL_POINTER_CHECKS)