[haiku-commits] Re: r37174 - haiku/trunk/data/develop

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 19 Jun 2010 11:48:42 +0200

zharik@xxxxxx wrote:
> + ifeq ($(CC_VER_MAJ), 2)
> +     INCLUDES = $(LOC_INCLUDES)
> +     INCLUDES += -I-
> + else
> +     INCLUDES = -iquote./
> +     INCLUDES += $(foreach path, $(SRC_PATHS) $(LOCAL_INCLUDE_PATHS), > 
> $(addprefix -iquote, $(path)))
> + endif
> +     INCLUDES += $(foreach path, $(SYSTEM_INCLUDE_PATHS), $(addprefix -
> I, $(path)))
>  else
>  ifeq ($(CPU), ppc)
>       LOC_INCLUDES = $(foreach path, $(SRC_PATHS) $(LOCAL_INCLUDE_PATHS), 
> > $(addprefix -I, $(path)))
>       SYS_INCLUDES += -i-
>       SYS_INCLUDES += $(foreach path, $(SYSTEM_INCLUDE_PATHS), $(addprefix 
> -i , > $(path)))

Looks like system includes are incorrectly handled. Ie. they seem to 
use the old mechanism, but they are now used as local headers with 
GCC4. "-isystem" is what is used there.

Bye,
   Axel.


Other related posts: