[haiku-commits] Re: haiku: hrev45405 - build/jam

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 25 Mar 2013 23:52:16 +0100

On 03/25/2013 03:32 AM, Rene Gollent wrote:
On 3/24/13, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
To clarify: I wouldn't even check for the middle version. The check as
is (still in hrev45407) is wrong as it will break for gcc 5.0.

I only did it that way to be consistent with some of the other
sections in the file, e.g.

if $(HAIKU_GCC_VERSION[1]) >= 4 {
        HAIKU_C++FLAGS += -Wno-deprecated ;

        if $(HAIKU_GCC_VERSION[2]) >= 3 {
                HAIKU_KERNEL_CCFLAGS += -ffreestanding ;
                HAIKU_KERNEL_C++FLAGS += -ffreestanding ;
                HAIKU_BOOT_CCFLAGS += -ffreestanding ;
                HAIKU_BOOT_C++FLAGS += -ffreestanding ;
        }
}


By extension can it be assumed that those should be simplified as well?

Sure.

CU, Ingo



Other related posts: