From 0c44427df10ee024b4e7ef7bfec56e993daff1db Mon Sep 17 00:00:00 2001 From: Ivan Stepanov Date: Wed, 5 Apr 2023 17:38:37 +0300 Subject: [PATCH] make : missing host optimizations in CXXFLAGS (#763) --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 2f828bf10..cb14ffdbc 100644 --- a/Makefile +++ b/Makefile @@ -72,6 +72,7 @@ endif ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686)) # Use all CPU extensions that are available: CFLAGS += -march=native -mtune=native + CXXFLAGS += -march=native -mtune=native endif ifneq ($(filter ppc64%,$(UNAME_M)),) POWER9_M := $(shell grep "POWER9" /proc/cpuinfo)