mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
assimp: disable debug build for one big object file
This commit is contained in:
@@ -143,3 +143,30 @@ index c659e19..c1a567a 100644
|
||||
--
|
||||
2.30.0
|
||||
|
||||
|
||||
From 07804ae559a567a759219fce6f83d1a40a5fadfb Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 26 May 2021 10:22:33 +0200
|
||||
Subject: remove debug info for StepFileGen1.cpp for x86 where memory is
|
||||
limited
|
||||
|
||||
|
||||
diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt
|
||||
index 55538d9..04d0acf 100644
|
||||
--- a/code/CMakeLists.txt
|
||||
+++ b/code/CMakeLists.txt
|
||||
@@ -832,6 +832,11 @@ if ((CMAKE_COMPILER_IS_MINGW) AND (CMAKE_BUILD_TYPE MATCHES Debug))
|
||||
SET_SOURCE_FILES_PROPERTIES(Importer/StepFile/StepFileGen1.cpp PROPERTIES STATIC_LIBRARY_FLAGS -Os )
|
||||
endif()
|
||||
|
||||
+if (HAIKU)
|
||||
+ message("-- Applying Haiku StepFileGen1.cpp Workaround for 2G Memory exhaustion")
|
||||
+ SET_SOURCE_FILES_PROPERTIES(Importer/StepFile/StepFileGen1.cpp PROPERTIES COMPILE_FLAGS -g0 )
|
||||
+endif()
|
||||
+
|
||||
ADD_ASSIMP_IMPORTER( STEP
|
||||
Step/STEPFile.h
|
||||
Importer/StepFile/StepFileImporter.h
|
||||
--
|
||||
2.30.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user