@dilyanpalauzov commented on this pull request.


In src/Makefile.defs:

> @@ -1017,7 +1017,7 @@ ifeq		($(CC_NAME), gcc)
 				#common stuff
 				CFLAGS+=$(CC_OPT) -funroll-loops  -Wcast-align $(PROFILE)
 			#if gcc 4.5+
-ifeq			($(CC_SHORTVER),$(filter $(CC_SHORTVER),4.2+ 4.5+ 5.0+ 6.0+ 7.0+ 8.0+ 9.0+))
+ifeq			($(CC_SHORTVER),$(filter $(CC_SHORTVER),4.2+ 4.5+ 5.0+ 6.0+ 7.0+ 8.0+ 9.0+ 15.0+))
sed -e 's/5\.[0-9]\..*/5.0+/' -e 's/5\.[0-9]$$/5.0+/' 

converts 15.1.1 to 15.0+, and -e 's/1[0-5]\.[0-9]\..*/9.0+/' -e 's/1[0-5]\.[0-9]$$/9.0+/ does not apply. Adding ^ in /^5 does result 9.0+.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4318/review/3015971905@github.com>