projects
/
stockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be4838e
)
Don't add -m32/-m64 to CXXFLAGS
author
Sven Joachim
<svenjoac@gmx.de>
Fri, 31 Dec 2021 18:39:06 +0000
(18:39 +0000)
committer
Milan Zamazal
<pdm@debian.org>
Fri, 31 Dec 2021 18:39:06 +0000
(18:39 +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 fea597e76cb941eb8d79bc9135a497fecc82e60e..2a65943008978009e1ae5555b0b4b59f8f6d71ff 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-333,9
+333,6
@@
ifeq ($(COMP),gcc)
CXXFLAGS += -m$(bits)
LDFLAGS += -m$(bits)
endif
- else
- CXXFLAGS += -m$(bits)
- LDFLAGS += -m$(bits)
endif
ifeq ($(arch),$(filter $(arch),armv7))