Skip to content

Instantly share code, notes, and snippets.

@trajakovic
Created July 14, 2014 12:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trajakovic/7d151f144f3db575d5fa to your computer and use it in GitHub Desktop.
Save trajakovic/7d151f144f3db575d5fa to your computer and use it in GitHub Desktop.
Daemontools conf-cc patch for CentOs build
--- conf-cc.old 2014-07-14 12:06:58.270692758 +0000
+++ conf-cc 2014-07-14 12:07:14.837994394 +0000
@@ -1,3 +1,3 @@
-gcc -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings
+gcc -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -include /usr/include/errno.h
This will be used to compile .c files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment