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
This commit is contained in:
shatty 2004-11-11 10:52:14 +00:00
parent f57ef32cc0
commit 4bb1944270
1 changed files with 5 additions and 2 deletions

View File

@ -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 :
{