diff options
Diffstat (limited to 'media-gfx/blender/blender-3.0.0.ebuild')
-rw-r--r-- | media-gfx/blender/blender-3.0.0.ebuild | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/media-gfx/blender/blender-3.0.0.ebuild b/media-gfx/blender/blender-3.0.0.ebuild index 24ae03343e86..ad4ed0c1d319 100644 --- a/media-gfx/blender/blender-3.0.0.ebuild +++ b/media-gfx/blender/blender-3.0.0.ebuild @@ -263,8 +263,18 @@ src_configure() { -DWITH_USD=OFF -DWITH_XR_OPENXR=OFF ) + append-flags $(usex debug '-DDEBUG' '-DNDEBUG') + if tc-is-gcc ; then + # These options only exist when GCC is detected. + # We disable these to respect the user's choice of linker. + mycmakeargs+=( + -DWITH_LINKER_GOLD=OFF + -DWITH_LINKER_LLD=OFF + ) + fi + cmake_src_configure } |