Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Commit

Permalink
add patch for build system under debian
Browse files Browse the repository at this point in the history
  • Loading branch information
prymitive committed Apr 14, 2015
1 parent 5f2ab8d commit 483e84c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions debian/patches/999-debian-cflags-build-fix-01.patch
@@ -0,0 +1,13 @@
diff --git a/uwsgiconfig.py b/uwsgiconfig.py
index 9b1139b..9fc8e03 100644
--- a/uwsgiconfig.py
+++ b/uwsgiconfig.py
@@ -680,8 +680,6 @@ class uConf(object):
self.cflags += ['-fno-strict-aliasing']
if gcc_major >= 4:
self.cflags += ['-Wextra', '-Wno-unused-parameter', '-Wno-missing-field-initializers']
- if gcc_major == 4 and gcc_minor < 9:
- self.cflags.append('-Wno-format -Wno-format-security')

self.ldflags = os.environ.get("LDFLAGS", "").split()
self.libs = ['-lpthread', '-lm', '-rdynamic']
2 changes: 2 additions & 0 deletions debian/patches/series
@@ -0,0 +1,2 @@
999-debian-cflags-build-fix-01.patch

0 comments on commit 483e84c

Please sign in to comment.