* Makefile.in (CC): Strip inappropriate include file settings from any

passed-in CC.
This commit is contained in:
Christopher Faylor 2004-07-17 04:31:14 +00:00
parent cc304ef63e
commit 241422d046
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-07-17 Christopher Faylor <cgf@timesys.com>
* Makefile.in (CC): Strip inappropriate include file settings from any
passed-in CC.
2004-07-15 "dgun" <dgun@umpire.com> 2004-07-15 "dgun" <dgun@umpire.com>
* include/complex.h (conj): Correct typo in prototype. * include/complex.h (conj): Correct typo in prototype.

View File

@ -70,7 +70,8 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
mkinstalldirs = $(SHELL) @MKINSTALLDIRS@ mkinstalldirs = $(SHELL) @MKINSTALLDIRS@
CC = @CC@ CC := @CC@
override CC := ${filter-out -L% -B%,${shell echo $(CC) | sed -e 's%\(-isystem\|-iwithprefixbefore\) *[^ ]*\( \|$$\)% %g'}}
# FIXME: Which is it, CC or CC_FOR_TARGET? # FIXME: Which is it, CC or CC_FOR_TARGET?
CC_FOR_TARGET = $(CC) CC_FOR_TARGET = $(CC)
AS_FOR_TARGET = $(AS) AS_FOR_TARGET = $(AS)