Module: kamailio
Branch: master
Commit: d61e4aa8ef2882ba2b40bf27b0f17ebdcfa074dc
URL:
https://github.com/kamailio/kamailio/commit/d61e4aa8ef2882ba2b40bf27b0f17eb…
Author: Konstantin M <ezdev128(a)users.noreply.github.com>
Committer: GitHub <noreply(a)github.com>
Date: 2017-09-26T23:20:18+02:00
Merge pull request #924 from linuxmaniac/vseva/fix_app_python
app_python: fix compiler warning
---
Modified: src/modules/app_python/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/d61e4aa8ef2882ba2b40bf27b0f17eb…
Patch:
https://github.com/kamailio/kamailio/commit/d61e4aa8ef2882ba2b40bf27b0f17eb…
---
diff --git a/src/modules/app_python/Makefile b/src/modules/app_python/Makefile
index d1854c12e4..02f5fff664 100644
--- a/src/modules/app_python/Makefile
+++ b/src/modules/app_python/Makefile
@@ -22,6 +22,8 @@ ifeq ($(OS), freebsd)
LIBS+=-pthread
endif
+# python2
https://www.python.org/dev/peps/pep-3123/
+DEFS+=-fno-strict-aliasing
DEFS+=-I${PYTHON_INCDIR}
DEFS+=-DKAMAILIO_MOD_INTERFACE