Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGrulich committed Feb 7, 2022
1 parent 150a34e commit fc0182a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions custom-triplets/arm64-linux-nes.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ set(VCPKG_LIBRARY_LINKAGE static)

set(VCPKG_CMAKE_SYSTEM_NAME Linux)


set(VCPKG_CXX_FLAGS_RELEASE -static-libgcc -static-libstdc++)
set(VCPKG_C_FLAGS_RELEASE -static-libgcc -static-libstdc++)
set(VCPKG_LINKER_FLAGS_RELEASE -static-libgcc -static-libstdc++)

if(NOT CMAKE_HOST_SYSTEM_PROCESSOR)
execute_process(COMMAND "uname" "-m" OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_PROCESSOR OUTPUT_STRIP_TRAILING_WHITESPACE)
endif()
Expand Down
1 change: 0 additions & 1 deletion custom-triplets/x64-linux-nes.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CMAKE_SYSTEM_NAME Linux)

link_libraries(-static-libgcc -static-libstdc++)

set(VCPKG_CXX_FLAGS_RELEASE -static-libgcc -static-libstdc++)
set(VCPKG_C_FLAGS_RELEASE -static-libgcc -static-libstdc++)
Expand Down

0 comments on commit fc0182a

Please sign in to comment.