ref: 30328b85f2f4bb89d71e38b15148859a3fad14a6
parent: 1c532d6f748e6e22fe7860d19ce6fcd73693285c
parent: 93bc546ee1ca298c7d65e35f0f4863a2b3408864
author: HaiboZhu <[email protected]>
date: Mon Aug 8 13:11:38 EDT 2016
Merge pull request #2536 from mstorsjo/make-consistency Consistently use Yes instead of true for makefile variables
--- a/build/arch.mk
+++ b/build/arch.mk
@@ -1,10 +1,10 @@
#for x86
-HAVE_AVX2 := true
+HAVE_AVX2 := Yes
ifneq ($(filter %86 x86_64, $(ARCH)),)
include $(SRC_PATH)build/x86-common.mk
ifeq ($(USE_ASM), Yes)
-ifeq ($(HAVE_AVX2), true)
+ifeq ($(HAVE_AVX2), Yes)
CFLAGS += -DHAVE_AVX2
CXXFLAGS += -DHAVE_AVX2
ASMFLAGS += -DHAVE_AVX2