mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-07 06:06:08 +00:00
Merge pull request #336 from xrmx/debian-fixes
A couple of patches from debian packaging
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
import os
|
||||
|
||||
NAME='alarm_speech'
|
||||
|
||||
CFLAGS = []
|
||||
uwsgi_os = os.uname()[0]
|
||||
|
||||
LDFLAGS = []
|
||||
LIBS = ['-framework appkit']
|
||||
if uwsgi_os == "Darwin":
|
||||
CFLAGS = []
|
||||
LIBS = ['-framework appkit']
|
||||
else:
|
||||
CFLAGS = ['-I /usr/include/GNUstep']
|
||||
LIBS = []
|
||||
|
||||
GCC_LIST = ['alarm_speech.m']
|
||||
|
||||
+1
-1
@@ -585,7 +585,7 @@ class uConf(object):
|
||||
if gcc_major >= 4:
|
||||
self.cflags = self.cflags + [ '-Wextra', '-Wno-unused-parameter', '-Wno-missing-field-initializers' ]
|
||||
if (gcc_major == 4 and gcc_minor >= 8) or gcc_major > 4:
|
||||
self.cflags.append('-Wno-format')
|
||||
self.cflags.append('-Wno-format -Wno-format-security')
|
||||
|
||||
self.ldflags = os.environ.get("LDFLAGS", "").split()
|
||||
self.libs = ['-lpthread', '-lm', '-rdynamic']
|
||||
|
||||
Reference in New Issue
Block a user