Make "makecounttable" crossbuild-aware.
Thanks to Helmut Grohne for the explanations at DebConf!
Christoph Berg
1 year, 9 months ago
|
0 |
deal (3.1.9-13) UNRELEASED; urgency=medium
|
|
1 |
|
|
2 |
* Make "makecounttable" crossbuild-aware.
|
|
3 |
Thanks to Helmut Grohne for the explanations at DebConf!
|
|
4 |
|
|
5 |
-- Christoph Berg <myon@debian.org> Wed, 27 Jul 2022 18:07:11 +0200
|
|
6 |
|
0 | 7 |
deal (3.1.9-12) unstable; urgency=medium
|
1 | 8 |
|
2 | 9 |
[ Debian Janitor ]
|
3 | 3 |
|
4 | 4 |
reprotest:
|
5 | 5 |
extends: .test-reprotest-diffoscope
|
|
6 |
|
|
7 |
test-crossbuild-arm64:
|
|
8 |
allow_failure: false
|
|
0 |
--- a/Makefile
|
|
1 |
+++ b/Makefile
|
|
2 |
@@ -80,6 +80,11 @@ stringbox.so: stringbox.c
|
|
3 |
|
|
4 |
$(SRCS): deal.h
|
|
5 |
|
|
6 |
+# use build architecture compiler for makecounttable; remove -ltcl from LDFLAGS
|
|
7 |
+include /usr/share/dpkg/architecture.mk
|
|
8 |
+makecounttable: makecounttable.c
|
|
9 |
+ $(DEB_BUILD_GNU_TYPE)-gcc $(CPPFLAGS) $(CFLAGS) $(filter-out -ltcl%, $(LDFLAGS)) $< -o $@
|
|
10 |
+
|
|
11 |
counttable.c: makecounttable
|
|
12 |
./makecounttable > counttable.c
|
|
13 |
|
4 | 4 |
no-version-warning
|
5 | 5 |
cross.patch
|
6 | 6 |
cflags
|
|
7 |
crossbuild
|