diff -uNr alpine-2.22/imap/src/osdep/unix/Makefile alpine-2.22.mod/imap/src/osdep/unix/Makefile
--- alpine-2.22/imap/src/osdep/unix/Makefile	2020-01-19 10:32:22.615427440 +0200
+++ alpine-2.22.mod/imap/src/osdep/unix/Makefile	2020-01-30 20:13:29.529329050 +0200
@@ -133,7 +133,7 @@
 # Commands possibly overridden by the individual port
 
 ARRC=ar rc
-CC=cc
+CC?=cc
 LN=ln -s
 RANLIB=ranlib