summaryrefslogtreecommitdiff
path: root/imap
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-05-10 12:09:43 -0600
committerEduardo Chappa <chappa@washington.edu>2020-05-10 12:09:43 -0600
commit40f483243cf79a5e7cf17074f8ccf16929d5651b (patch)
treefe246854e56e4a8ff345484e7abd193f795f40e4 /imap
parent78ebe5ef4a47e4fe03e7b52afef0fb66e0de2378 (diff)
downloadalpine-40f483243cf79a5e7cf17074f8ccf16929d5651b.tar.xz
* Remove CC=cc from Makefiles under the imap/ directory. Also redefine
ARRC, as these are inherited from values set in the configure script, which in turn can be inherited from environment variables. This implies that to build c-client one needs to specify these variables, and since this is not being built as a stand-alone library anymore, we take these values from the configure script. Submitted by Robert Siebeck.
Diffstat (limited to 'imap')
-rw-r--r--imap/src/osdep/unix/Makefile5
-rw-r--r--imap/tools/Makefile1
2 files changed, 2 insertions, 4 deletions
diff --git a/imap/src/osdep/unix/Makefile b/imap/src/osdep/unix/Makefile
index ed33db0..cdcbf31 100644
--- a/imap/src/osdep/unix/Makefile
+++ b/imap/src/osdep/unix/Makefile
@@ -132,10 +132,9 @@ EMPTYPROTO=unixproto
# Commands possibly overridden by the individual port
-ARRC=ar rc
-CC=cc
+ARRC=$(AR) rc
LN=ln -s
-RANLIB=ranlib
+RANLIB?=ranlib
# Standard distribution build parameters
diff --git a/imap/tools/Makefile b/imap/tools/Makefile
index f2db51f..58afc2d 100644
--- a/imap/tools/Makefile
+++ b/imap/tools/Makefile
@@ -21,7 +21,6 @@
# Internet: MRC@CAC.Washington.EDU
-CC=cc
RM=rm -f