Merge branch 'compile-optimize' into 'master'
Enable Ubuntu build on ppc64el and riscv64
See merge request science-team/pspp!3
Dylan Aïssi
3 years ago
|
0 |
pspp (1.2.0-5) unstable; urgency=medium
|
|
1 |
|
|
2 |
* set compiler optimization to -O2 for ppc64el
|
|
3 |
Closes: #942609
|
|
4 |
|
|
5 |
-- Friedrich Beckmann <friedrich.beckmann@gmx.de> Sun, 24 May 2020 15:02:21 +0200
|
|
6 |
|
0 | 7 |
pspp (1.2.0-4) unstable; urgency=medium
|
1 | 8 |
|
2 | 9 |
[ Andreas Tille ]
|
24 | 24 |
#CONFIGUREFLAGS =
|
25 | 25 |
#endif
|
26 | 26 |
|
|
27 |
# Ubuntu builds with -O3 which results in build failure
|
|
28 |
# on ppc64el. See: #942609
|
|
29 |
ifeq ($(DEB_HOST_ARCH),ppc64el)
|
|
30 |
export DEB_CFLAGS_MAINT_APPEND += -O2
|
|
31 |
export DEB_CFLAGS_MAINT_STRIP += -O3
|
|
32 |
endif
|
|
33 |
|
|
34 |
# Lower optimization also for riscv
|
|
35 |
ifeq ($(DEB_HOST_ARCH),riscv64)
|
|
36 |
export DEB_CFLAGS_MAINT_APPEND += -O2
|
|
37 |
export DEB_CFLAGS_MAINT_STRIP += -O3
|
|
38 |
endif
|
|
39 |
|
27 | 40 |
%:
|
28 | 41 |
dh $@ --with autoreconf,elpa
|
29 | 42 |
|