Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #12329: Libraries fail to build on old distros #1560

Conversation

peckpeck
Copy link
Member

@@ -394,6 +394,8 @@ ifeq ($(shell ../../build-caching get ./xml-source/ --force-config name=xml-src
$(GET) $(TMP_DIR)/libxml2.tgz $(HTTPS)://www.normation.com/tarball/xml/libxml2-$(XML_RELEASE).tar.gz $(XML_SHA1)
gunzip < $(TMP_DIR)/libxml2.tgz | $(TAR) xf -
mv ./libxml2-$(XML_RELEASE) ./xml-source
# patch libxml source to work with very old gcc
cd ./xml-source && $(SED) 's/#ifdef __GNUC__/#if __GNUC__ > 3/' ./timsort.h > ./timsort.h.new && mv ./timsort.h.new ./timsort.h
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:-0

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit fefd797 into Normation:branches/rudder/4.3 Mar 30, 2018
@peckpeck peckpeck deleted the bug_12329/libraries_fail_to_build_on_old_distros branch July 13, 2020 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants