Module: kamailio
Branch: master
Commit: bf8a989f54b1006cae6c764f4064998daa6fe0c0
URL:
https://github.com/kamailio/kamailio/commit/bf8a989f54b1006cae6c764f4064998…
Author: Anthony Alba <ascanio.alba7(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-11-05T11:23:40+01:00
build: detect GCC 11
---
Modified: src/Makefile.defs
---
Diff:
https://github.com/kamailio/kamailio/commit/bf8a989f54b1006cae6c764f4064998…
Patch:
https://github.com/kamailio/kamailio/commit/bf8a989f54b1006cae6c764f4064998…
---
diff --git a/src/Makefile.defs b/src/Makefile.defs
index 5d76fbe2cc..cde1faa6df 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -308,7 +308,9 @@ ifneq (,$(findstring gcc, $(CC_LONGVER)))
-e 's/9\.[0-9]\..*/9.0+/' \
-e 's/9\.[0-9]$$/9.0+/' \
-e 's/10\.[0-9]\..*/9.0+/' \
- -e 's/10\.[0-9]$$/9.0+/')
+ -e 's/10\.[0-9]$$/9.0+/' \
+ -e 's/11\.[0-9]\..*/9.0+/' \
+ -e 's/11\.[0-9]$$/9.0+/')
ifeq (,$(strip $(filter-out 3.0 3.4 4.x 4.2+ 4.5+ 5.0+ 6.0+ 7.0+ 8.0+
9.0+,$(CC_SHORTVER))))
# dependencies can be generated on-the-fly while compiling *.c
CC_MKDEP_OPTS=-MMD -MP