From 4bb1944270b46c4fcb9283f508a8dfdda44774b5 Mon Sep 17 00:00:00 2001 From: shatty Date: Thu, 11 Nov 2004 10:52:14 +0000 Subject: [PATCH] remove global activation of COMPILE_FOR_R5 based on TARGET_PLATFORM ; require TARGET_PLATFORM to be set git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9919 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- Jamrules | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Jamrules b/Jamrules index 75fce209d3..613e161936 100644 --- a/Jamrules +++ b/Jamrules @@ -81,12 +81,15 @@ C++FLAGS += -nostdinc ; # issues, they deprecated that nice function. This will enable it again: C++FLAGS += -D_ZETA_USING_DEPRECATED_API_=1 ; +if ! $(TARGET_PLATFORM) { + ECHO "Variable TARGET_PLATFORM not set. Please run ./configure or" ; + EXIT "specify it manually." ; +} switch $(TARGET_PLATFORM) { case r5 : { - CCFLAGS += -DCOMPILE_FOR_R5 ; - C++FLAGS += -DCOMPILE_FOR_R5 ; + # "everything" is r5 compatible } case bone : {