From adf0692b5176fabaeb35796ffddb05bcd686302b Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 20 Dec 2009 13:40:12 +0000 Subject: [PATCH] * Removed the DEBUG_PRINTF variable support. * Simplified the HAIKU_INCLUDE_PATENTED_CODE variable support. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34719 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/BuildSetup | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index e6f632dad2..6fcada5d26 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -315,31 +315,19 @@ if $(HAIKU_ARCH) = m68k { HAIKU_KERNEL_C++FLAGS += -m68020-60 ; } if $(HAIKU_ARCH) = mipsel { - # todo: verify correctness of this + # TODO: verify correctness of this HAIKU_KERNEL_PIC_CCFLAGS = -fno-pic ; HAIKU_KERNEL_PIC_LINKFLAGS = ; } -# If the environment variable DEBUG_PRINTF is defined we define an equally -# named macro to the variable value. Some components use the macro to allow -# another function than printf() to print the debug output. The variable should -# be set to the name of the alternative function. -# -if $(DEBUG_PRINTF) { - HAIKU_CCFLAGS += [ FDefines DEBUG_PRINTF=$(DEBUG_PRINTF) ] ; - HAIKU_C++FLAGS += [ FDefines DEBUG_PRINTF=$(DEBUG_PRINTF) ] ; -} - # If the environment variable HAIKU_INCLUDE_PATENTED_CODE is defined, we # define an equally named macro to the variable value. Some components use the # macro to allow compilation of code known to implemented patented ideas and/or # techniques, for example the Freetype bytecode hinter or sub-pixel rendering # as well as some problematic media codecs. if $(HAIKU_INCLUDE_PATENTED_CODE) { - HAIKU_CCFLAGS += [ FDefines - HAIKU_INCLUDE_PATENTED_CODE=$(HAIKU_INCLUDE_PATENTED_CODE) ] ; - HAIKU_C++FLAGS += [ FDefines - HAIKU_INCLUDE_PATENTED_CODE=$(HAIKU_INCLUDE_PATENTED_CODE) ] ; + HAIKU_DEFINES + += HAIKU_INCLUDE_PATENTED_CODE=$(HAIKU_INCLUDE_PATENTED_CODE) ; } # warning flags