Revert Makefile change
authorFabian Fichter <ianfab@users.noreply.github.com>
Sat, 19 Jun 2021 07:12:04 +0000 (09:12 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 19 Jun 2021 07:12:04 +0000 (09:12 +0200)
.github/workflows/fairy.yml
src/Makefile

index 728d5d9..74162a8 100644 (file)
@@ -77,6 +77,7 @@ jobs:
 
       - name: Test 32bit largeboards
         run: |
+          if [[ "$COMP" == "gcc" ]]; then export EXTRACXXFLAGS=-Wno-class-memaccess; fi
           make clean
           make -j2 ARCH=x86-32 largeboards=yes build
           ../tests/perft.sh largeboard
index dc9a997..23a64ef 100644 (file)
@@ -324,9 +324,6 @@ ifneq ($(largeboards),no)
        ifeq ($(precomputedmagics),yes)
                CXXFLAGS += -DPRECOMPUTED_MAGICS
        endif
-       ifeq ($(bits),32)
-               CXXFLAGS += -Wno-class-memaccess
-       endif
 endif
 
 # Embed and enable NNUE