projects
/
stockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b5de56
)
Don't add -m32/-m64 to CXXFLAGS
author
Sven Joachim
<svenjoac@gmx.de>
Wed, 15 Feb 2023 21:21:58 +0000
(21:21 +0000)
committer
Milan Zamazal
<pdm@debian.org>
Wed, 15 Feb 2023 21:21:58 +0000
(21:21 +0000)
Bug-Debian: https://bugs.debian.org/843922
Last-Update: 2016-11-11
Adding those is not only unnecessary, but actually breaks the build on
many architectures, since g++ does not recognize them when built without
multilib support.
Gbp-Pq: Name cxxflags.patch
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index 917bd5c06c7a83f9d4c48f9a531df196b0cb2d9d..db48421c545052e6f7e8d0351af64d8d256b957c 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-376,9
+376,6
@@
ifeq ($(COMP),gcc)
ifeq ($(ARCH),riscv64)
CXXFLAGS += -latomic
endif
- else
- CXXFLAGS += -m$(bits)
- LDFLAGS += -m$(bits)
endif
ifeq ($(arch),$(filter $(arch),armv7))