mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Only set CC if not already set in the environment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31264 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
30c32c1b4d
commit
8d78fcfdc7
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-09-09 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* config.make.in (CC): Only set CC if not already set in the
|
||||
environment.
|
||||
|
||||
2010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* configure.ac: Always obey an --enable-native-objc-exceptions or
|
||||
|
|
|
@ -30,7 +30,14 @@ MAKE_WITH_INFO_FUNCTION = @MAKE_WITH_INFO_FUNCTION@
|
|||
#
|
||||
# Binary and compile tools
|
||||
#
|
||||
CC = @CC@
|
||||
|
||||
# If CC is already set in the environment, don't override it but use
|
||||
# the provided compiler. This makes it easier to swap compilers on
|
||||
# the fly.
|
||||
ifeq ($(CC),)
|
||||
CC = @CC@
|
||||
endif
|
||||
|
||||
# TODO: Because of the following, OPTFLAG usually ends up being '-g
|
||||
# -O2'. The '-g' is fairly harmless as you can always use strip=yes
|
||||
# which will strip the object files upon installation; still, it's not
|
||||
|
|
Loading…
Reference in a new issue