Search
SailfishOS Open Build Service
>
Projects
>
home:cxl000
:
hawaii
:
rpi
>
gfx-rpi
> _service:tar_git:mer-arm-linux.cmake
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:mer-arm-linux.cmake of Package gfx-rpi
# # CMake defines to cross-compile to ARM/Linux on BCM2708 using glibc. # SET(CMAKE_SYSTEM_NAME Linux) SET(CMAKE_C_COMPILER gcc) SET(CMAKE_CXX_COMPILER g++) SET(CMAKE_ASM_COMPILER gcc) SET(CMAKE_SYSTEM_PROCESSOR arm) # rdynamic means the backtrace should work IF (CMAKE_BUILD_TYPE MATCHES "Debug") add_definitions(-rdynamic) ENDIF() # avoids annoying and pointless warnings from gcc #SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -U_FORTIFY_SOURCE") #SET(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -c")