Commit 8bf76b45 authored by Jerome Benoit's avatar Jerome Benoit

Imported Debian patch 1.0+ds-7: #841636 workaround (harden)

parent 4cdb6ab1
apophenia (1.0+ds-7) unstable; urgency=medium
* Debianization:
- d/p/debianization-bug-[DebianBug_..]-mysql_config.patch, harden.
-- Jerome Benoit <calculus@rezozer.net> Mon, 19 Dec 2016 16:33:38 +0000
apophenia (1.0+ds-6) unstable; urgency=medium
* FTBFS fix release:
......
......@@ -11,7 +11,7 @@ Last-Update: 2016-12-19
DEB_PKG_VERSION=$(dpkg-parsechangelog -S Version)
AC_SUBST(DEB_PKG_VERSION)
+## work around for bugs #597187, #757967 and #841636
+MYSQL_CFLAGS=$(echo "${MYSQL_CFLAGS}" | sed -e 's/-DNDEBUG//g;s/-g//g;s/-fabi-version=2//g;s/-fno-omit-frame-pointer//g;s/-fno-strict-aliasing//g;s/[ ]*$//g;s|-fdebug-prefix-map=[0-9a-zA-Z/=\.\-]*||g' | tr -s ' ')
+MYSQL_CFLAGS=$(echo "${MYSQL_CFLAGS}" | sed -e 's/-DNDEBUG//g;s/-g//g;s/-fabi-version=2//g;s/-fno-omit-frame-pointer//g;s/-fno-strict-aliasing//g;s/[ ]*$//g;s|-fdebug-prefix-map=.*=.||g' | tr -s ' ')
+MYSQL_LDFLAGS=$(echo "${MYSQL_LDFLAGS}" | sed -e 's/-lz//g;s/-lrt//g;s/-ldl//g' | tr -s ' ')
AC_CONFIG_FILES([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment