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:
@@ -81,12 +81,15 @@ C++FLAGS += -nostdinc ;
|
|||||||
# issues, they deprecated that nice function. This will enable it again:
|
# issues, they deprecated that nice function. This will enable it again:
|
||||||
C++FLAGS += -D_ZETA_USING_DEPRECATED_API_=1 ;
|
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)
|
switch $(TARGET_PLATFORM)
|
||||||
{
|
{
|
||||||
case r5 :
|
case r5 :
|
||||||
{
|
{
|
||||||
CCFLAGS += -DCOMPILE_FOR_R5 ;
|
# "everything" is r5 compatible
|
||||||
C++FLAGS += -DCOMPILE_FOR_R5 ;
|
|
||||||
}
|
}
|
||||||
case bone :
|
case bone :
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user