@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+))

With just this change:

index d66a99bd9e..726fc0e311 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -309,6 +309,7 @@ ifneq (,$(findstring gcc, $(CC_LONGVER)))
                                        -e 's/9\.[0-9]$$/9.0+/' \
                                        -e 's/1[0-5]\.[0-9]\..*/9.0+/' \
                                        -e 's/1[0-5]\.[0-9]$$/9.0+/')
+$(warning UU $(CC_SHORTVER))
 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

I get Makefile.defs:312: UU 15.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/3015944734@github.com>