Skip to content

Commit 0c44427

Browse files
make : missing host optimizations in CXXFLAGS (ggml-org#763)
1 parent 594cc95 commit 0c44427

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ endif
7272
ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
7373
# Use all CPU extensions that are available:
7474
CFLAGS += -march=native -mtune=native
75+
CXXFLAGS += -march=native -mtune=native
7576
endif
7677
ifneq ($(filter ppc64%,$(UNAME_M)),)
7778
POWER9_M := $(shell grep "POWER9" /proc/cpuinfo)

0 commit comments

Comments
 (0)