ifeq ($(NO_AVX), 1)
GETARCH_FLAGS += -DNO_AVX
+endif
+
ifeq ($(BINARY), 32)
GETARCH_FLAGS += -DNO_AVX
endif
-endif
ifeq ($(DEBUG), 1)
GETARCH_FLAGS += -g
ifeq ($(NO_AVX), 1)
CCOMMON_OPT += -DNO_AVX
-else
+endif
+
ifeq ($(BINARY), 32)
CCOMMON_OPT += -DNO_AVX
endif
-endif
-
ifdef SMP
CCOMMON_OPT += -DSMP_SERVER
#include <string.h>
#include "cpuid.h"
+/*
#ifdef NO_AVX
#define CPUTYPE_HASWELL CPUTYPE_NEHALEM
#define CORE_HASWELL CORE_NEHALEM
#define CPUTYPE_PILEDRIVER CPUTYPE_BARCELONA
#define CORE_PILEDRIVER CORE_BARCELONA
#endif
+*/
#ifndef CPUIDEMU