Content-Length: 211829 | pFad | http://github.com/PhysicsX/QTonRaspberryPi/commit/c7f78eecc9f2818f55fd36bb0fab71199ab8afbf

5F Update toolchain path · PhysicsX/QTonRaspberryPi@c7f78ee · GitHub
Skip to content

Commit

Permalink
Update toolchain path
Browse files Browse the repository at this point in the history
  • Loading branch information
PhysicsX committed Nov 22, 2024
1 parent 7ad6c42 commit c7f78ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ set(ENV{PKG_CONFIG_LIBDIR} "/usr/lib/pkgconfig:/usr/share/pkgconfig:${CMAKE_SYSR
set(ENV{PKG_CONFIG_SYSROOT_DIR} "${CMAKE_SYSROOT}")

# Set the C and C++ compilers
set(CMAKE_C_COMPILER /opt/cross-pi-gcc/bin/${TARGET_ARCHITECTURE}-gcc)
set(CMAKE_CXX_COMPILER /opt/cross-pi-gcc/bin/${TARGET_ARCHITECTURE}-g++)
set(CMAKE_C_COMPILER /usr/bin/${TARGET_ARCHITECTURE}-gcc-12)
set(CMAKE_CXX_COMPILER /usr/bin/${TARGET_ARCHITECTURE}-g++-12)

# Define additional compiler flags
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -isystem=/usr/include -isystem=/usr/local/include -isystem=/usr/include/${TARGET_ARCHITECTURE}")
Expand Down Expand Up @@ -69,4 +69,3 @@ set(XCB_XCB_LIBRARY ${XCB_PATH_VARIABLE}/usr/lib/${TARGET_ARCHITECTURE}/libxcb.s
# Append to CMake library and prefix paths
list(APPEND CMAKE_LIBRARY_PATH ${CMAKE_SYSROOT}/usr/lib/${TARGET_ARCHITECTURE})
list(APPEND CMAKE_PREFIX_PATH "/usr/lib/${TARGET_ARCHITECTURE}/cmake")

0 comments on commit c7f78ee

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/PhysicsX/QTonRaspberryPi/commit/c7f78eecc9f2818f55fd36bb0fab71199ab8afbf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy