Changeset View
Changeset View
Standalone View
Standalone View
build_files/cmake/platform/platform_unix.cmake
| Show First 20 Lines • Show All 600 Lines • ▼ Show 20 Lines | elseif(CMAKE_C_COMPILER_ID MATCHES "Intel") | ||||
| set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -static-intel") | set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -static-intel") | ||||
| endif() | endif() | ||||
| # Avoid conflicts with Mesa llvmpipe, Luxrender, and other plug-ins that may | # Avoid conflicts with Mesa llvmpipe, Luxrender, and other plug-ins that may | ||||
| # use the same libraries as Blender with a different version or build options. | # use the same libraries as Blender with a different version or build options. | ||||
| set(PLATFORM_LINKFLAGS | set(PLATFORM_LINKFLAGS | ||||
| "${PLATFORM_LINKFLAGS} -Wl,--version-script='${CMAKE_SOURCE_DIR}/source/creator/blender.map'" | "${PLATFORM_LINKFLAGS} -Wl,--version-script='${CMAKE_SOURCE_DIR}/source/creator/blender.map'" | ||||
| ) | ) | ||||
| # Don't use position independent executable for portable install since file | |||||
| # browsers can't properly detect blender as an executable then. Still enabled | |||||
| # for non-portable installs as typically used by Linux distributions. | |||||
| if(WITH_INSTALL_PORTABLE) | |||||
| set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie") | |||||
| endif() | |||||