Ver código fonte

make : missing host optimizations in CXXFLAGS (#763)

Ivan Stepanov 2 anos atrás
pai
commit
0c44427df1
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      Makefile

+ 1 - 0
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)