X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FMakefile;h=e7c06389bdd5d57917c0fac5a34c7951a50ddfb4;hb=e594aa74290cf37881432f268befde9ad3f3c498;hp=bf483f8c77e2a7c16666428bb4895f7c4ee968e6;hpb=708319a433951ee5d5d74e0bf1cda218c14dd18e;p=stockfish diff --git a/src/Makefile b/src/Makefile index bf483f8c..e7c06389 100644 --- a/src/Makefile +++ b/src/Makefile @@ -715,6 +715,11 @@ ifneq ($(GIT_DATE), ) CXXFLAGS += -DGIT_DATE=$(GIT_DATE) endif +### 3.7.3 Try to include architecture +ifneq ($(ARCH), ) + CXXFLAGS += -DARCH=$(ARCH) +endif + ### 3.8 Link Time Optimization ### This is a mix of compile and link time options because the lto link phase ### needs access to the optimization flags.