configure: Darwin build settings

Modify comments and defaults for darwin builds.
Changing to use gcc wasn't working.
This commit is contained in:
Andrew Johnson
2013-08-30 11:51:51 -05:00
parent 01f0fdbf1e
commit d25eff3af7
2 changed files with 10 additions and 8 deletions

View File

@@ -59,8 +59,10 @@ COMMANDLINE_LIBRARY=READLINE
GNU_DIR = /usr
CC = $(GNU_BIN)/cc
CCC = $(GNU_BIN)/c++
# Apple soft-links these compilers to clang/clang++
CC = cc
CCC = c++
GNU = NO
#
# Darwin shared libraries

View File

@@ -14,19 +14,19 @@ ARCH_CLASS = x86_64
#ARCH_CLASS = i386 x86_64
#
# Comment out the following 3 lines to build with Apple's GCC instead of CLANG.
# Uncomment the following 3 lines to build with Apple's GCC instead of CLANG.
#
CC = clang
CCC = clang++
GNU = NO
#CC = gcc
#CCC = g++
#GNU = YES
# To use MacPorts GCC, comment out ALL the settings above this line,
# then uncomment (and modify if necessary) the following instead:
# To use MacPorts GCC uncomment (and modify if necessary) the following:
#GNU_DIR = /opt/local
#CC = $(GNU_BIN)/gcc -m64
#CCC = $(GNU_BIN)/g++ -m64
#GNU = YES
# If you see this or similar errors while building in the src/cap5 directory
# gcc: error: unrecognized option '-no-cpp-precomp'