Codebase list pspp / f0ec751
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
2 changed file(s) with 20 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
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
07 pspp (1.2.0-4) unstable; urgency=medium
18
29 [ Andreas Tille ]
2424 #CONFIGUREFLAGS =
2525 #endif
2626
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
2740 %:
2841 dh $@ --with autoreconf,elpa
2942