From: Simon Wilkinson Date: Sat, 26 Sep 2009 19:54:06 +0000 (+0100) Subject: Relax compiler specification on Darwin 9 and 10 X-Git-Tag: openafs-devel-1_5_65~41 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e14e5aa0cfba456eee9252c47294d863e935f67b;p=packages%2Fo%2Fopenafs.git Relax compiler specification on Darwin 9 and 10 Commit 1992b702f64f561c75cc74d4645bb0e1afeec6bd made it possible to relax the compiler choice on a per architecture basis. That commit allowed the user to specify their compiler of choice on all Linux systems, but hardcoded 'cc' everywhere else. This patch permits Darwin 9 and 10 users to also override the default compiler for user space builds. Reviewed-on: http://gerrit.openafs.org/501 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- diff --git a/src/cf/osconf.m4 b/src/cf/osconf.m4 index eacc13031..0947a218b 100644 --- a/src/cf/osconf.m4 +++ b/src/cf/osconf.m4 @@ -564,9 +564,6 @@ case $AFS_SYSNAME in ;; *_darwin_90) - CC="cc" - CCOBJ="cc" - MT_CC="cc" AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration -framework SystemConfiguration -framework IOKit -framework CoreFoundation" LEX="lex -l" MT_CFLAGS='-DAFS_PTHREAD_ENV -D_REENTRANT ${XCFLAGS} ${ARCHFLAGS}' @@ -585,9 +582,6 @@ case $AFS_SYSNAME in ;; *_darwin_100) - CC="cc" - CCOBJ="cc" - MT_CC="cc" AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration -framework SystemConfiguration -framework IOKit -framework CoreFoundation" LEX="lex -l" MT_CFLAGS='-DAFS_PTHREAD_ENV -D_REENTRANT ${XCFLAGS} ${ARCHFLAGS}'