]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Relax compiler specification on Darwin 9 and 10
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sat, 26 Sep 2009 19:54:06 +0000 (20:54 +0100)
committerDerrick Brashear <shadow|account-1000005@unknown>
Mon, 28 Sep 2009 08:13:15 +0000 (01:13 -0700)
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 <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/cf/osconf.m4

index eacc13031bed3f83b2cfda2f30fcfd3693d1e804..0947a218b4b5e64c83d709098c884d48ef380fd9 100644 (file)
@@ -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}'