diffstat for scikit-learn-0.19.2 scikit-learn-0.19.2 changelog | 6 ++++++ rules | 7 +++++++ 2 files changed, 13 insertions(+) diff -Nru scikit-learn-0.19.2/debian/changelog scikit-learn-0.19.2/debian/changelog --- scikit-learn-0.19.2/debian/changelog 2018-07-26 14:12:10.000000000 +0000 +++ scikit-learn-0.19.2/debian/changelog 2018-07-29 02:31:12.000000000 +0000 @@ -1,3 +1,9 @@ +scikit-learn (0.19.2-1ubuntu2) cosmic; urgency=medium + + * Build with -O2 instead of -O3 on ppc64el. + + -- Matthias Klose Sun, 29 Jul 2018 04:31:12 +0200 + scikit-learn (0.19.2-1) unstable; urgency=medium * Fresh upstream bugfix release (Closes: #904636) diff -Nru scikit-learn-0.19.2/debian/rules scikit-learn-0.19.2/debian/rules --- scikit-learn-0.19.2/debian/rules 2018-07-26 14:12:10.000000000 +0000 +++ scikit-learn-0.19.2/debian/rules 2018-07-29 02:30:56.000000000 +0000 @@ -1,6 +1,13 @@ #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- +ifeq ($(DEB_HOST_ARCH),ppc64el) + export DEB_CFLAGS_MAINT_STRIP = -O3 + export DEB_CXXFLAGS_MAINT_STRIP = -O3 + export DEB_CFLAGS_MAINT_APPEND = -O2 + export DEB_CXXFLAGS_MAINT_APPEND = -O2 +endif + PACKAGE2_NAME = python-sklearn PACKAGE3_NAME = python3-sklearn PACKAGE2_ROOT_DIR = debian/${PACKAGE2_NAME}