projects
/
stockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99b7db0
)
Don't add -m32/-m64 to CXXFLAGS
author
Sven Joachim
<svenjoac@gmx.de>
Thu, 7 Jan 2021 20:18:11 +0000
(20:18 +0000)
committer
Milan Zamazal
<pdm@debian.org>
Thu, 7 Jan 2021 20:18:11 +0000
(20:18 +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 340b3008381be752d1d9edf1cd3020bffd323961..397bc361164a54a52dd634045b9cc0f6e75de5bb 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-314,9
+314,6
@@
ifeq ($(COMP),gcc)
CXXFLAGS += -m$(bits)
LDFLAGS += -m$(bits)
endif
- else
- CXXFLAGS += -m$(bits)
- LDFLAGS += -m$(bits)
endif
ifeq ($(arch),$(filter $(arch),armv7))