Skip to content

Commit

Permalink
Suppress upstream warnings in Makefile.
Browse files Browse the repository at this point in the history
Pull request leela-zero#1605.
  • Loading branch information
TFiFiE authored and gcp committed Jul 9, 2018
1 parent 2b37c69 commit b695170
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ THE_OS := $(shell uname -s)
default:
@echo "Detected OS: ${THE_OS}"
$(MAKE) CC=gcc CXX=g++ \
CXXFLAGS='$(CXXFLAGS) -Wall -Wextra -pipe -O3 -g -ffast-math -flto -march=native -std=c++14 -DNDEBUG' \
CXXFLAGS='$(CXXFLAGS) -Wall -Wextra -Wno-ignored-attributes -pipe -O3 -g -ffast-math -flto -march=native -std=c++14 -DNDEBUG' \
LDFLAGS='$(LDFLAGS) -flto -g' \
leelaz

debug:
@echo "Detected OS: ${THE_OS}"
$(MAKE) CC=gcc CXX=g++ \
CXXFLAGS='$(CXXFLAGS) -Wall -Wextra -pipe -Og -g -std=c++14' \
CXXFLAGS='$(CXXFLAGS) -Wall -Wextra -Wno-ignored-attributes -pipe -Og -g -std=c++14' \
LDFLAGS='$(LDFLAGS) -g' \
leelaz

clang:
@echo "Detected OS: ${THE_OS}"
$(MAKE) CC=clang CXX=clang++ \
CXXFLAGS='$(CXXFLAGS) -Wall -Wextra -Wno-missing-braces -O3 -ffast-math -flto -march=native -std=c++14 -DNDEBUG' \
CXXFLAGS='$(CXXFLAGS) -Wall -Wextra -Wno-missing-braces -Wno-mismatched-tags -O3 -ffast-math -flto -march=native -std=c++14 -DNDEBUG' \
LDFLAGS='$(LDFLAGS) -flto -fuse-linker-plugin' \
leelaz

Expand Down

0 comments on commit b695170

Please sign in to comment.