projects
/
stockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
232818b
)
Don't add -m32/-m64 to CXXFLAGS
author
Sven Joachim
<svenjoac@gmx.de>
Sat, 11 Nov 2023 20:21:24 +0000
(21:21 +0100)
committer
Milan Zamazal
<pdm@debian.org>
Sat, 11 Nov 2023 20:21:24 +0000
(21:21 +0100)
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 82664618bb75e22ee5ddabe0718c46ac54488a97..4eb209870fb1449915aa0a0fab5e065c9072a777 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-388,9
+388,6
@@
ifeq ($(COMP),gcc)
ifeq ($(ARCH),riscv64)
CXXFLAGS += -latomic
endif
- else
- CXXFLAGS += -m$(bits)
- LDFLAGS += -m$(bits)
endif
ifeq ($(arch),$(filter $(arch),armv7))