<div dir="ltr">Just a suggestion here, but has the git repo history been checked just in case that might shed some light on what it is<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 5, 2014 at 12:06 PM, Otto Kekäläinen <span dir="ltr"><<a href="mailto:otto@seravo.fi" target="_blank">otto@seravo.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can anybody reply to this, please?<br>
<br>
If a handful of people say that they don't know what these are then if<br>
would be safe to assume this is old cruft.<br>
<br>
2014-09-02 22:29 GMT+03:00 Otto Kekäläinen <<a href="mailto:otto@seravo.fi">otto@seravo.fi</a>>:<br>
> Hello!<br>
><br>
> I've been trying to clean up the d/rules file and also to address the<br>
> hardening-wrapper is depricated -issue.<br>
><br>
> I noticed that the rules file in MySQL (and from there inherited,<br>
> MariaDB too) has variables like MYSQL_BUILD_CXXFLAGS and<br>
> MYSQL_BUILD_CFLAGS.<br>
><br>
> Grepping for these shows only this:<br>
> mysql-5.6$ grep -R MYSQL_BUILD_CXXFLAGS *<br>
> debian/rules:     CXXFLAGS=$${MYSQL_BUILD_CXXFLAGS:-"-O3 -DBIG_JOINS=1<br>
> -felide-constructors -fno-exceptions -fpermissive -fno-rtti<br>
> ${FORCE_FPIC_CFLAGS} -fno-strict-aliasing ${TAOCRYPT_OPT}"} \<br>
> support-files/mysql.5.6.20.spec:export<br>
> CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-${CXXFLAGS:-$RPM_OPT_FLAGS<br>
> -felide-constructors}}<br>
> support-files/mysql.spec.sh:export<br>
> CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-${CXXFLAGS:-$RPM_OPT_FLAGS<br>
> -felide-constructors}}<br>
><br>
> Nothing seems to control or set those variables. They most like are<br>
> old unused cruft, but I think it's best to check from this list first.<br>
><br>
> Can/should we remove those?<br>
><br>
><br>
> Instead we should probably have something like:<br>
><br>
> CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)<br>
> CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)<br>
> CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)<br>
> LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)<br>
><br>
> ..as recommended at<br>
> <a href="https://wiki.debian.org/Hardening#Notes_for_packages_using_CMake" target="_blank">https://wiki.debian.org/Hardening#Notes_for_packages_using_CMake</a> ?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Check out our blog at <a href="http://seravo.fi/blog" target="_blank">http://seravo.fi/blog</a><br>
and follow @ottokekalainen<br>
<br>
_______________________________________________<br>
pkg-mysql-maint mailing list<br>
<a href="mailto:pkg-mysql-maint@lists.alioth.debian.org">pkg-mysql-maint@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint</a></font></span></blockquote></div><br><br clear="all"><br>-- <br>Jonathan Aquilina
</div>