target 601 for PPC builds (GH bug #16)

This commit is contained in:
cy384 2022-08-21 11:18:00 -04:00
parent 41452a537c
commit 686a3010d1
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# ssheven # ssheven
# #
# Copyright (c) 20201 by cy384 <cy384@cy384.com> # Copyright (c) 2021 by cy384 <cy384@cy384.com>
# See LICENSE file for details # See LICENSE file for details
cmake_minimum_required(VERSION 3.9) cmake_minimum_required(VERSION 3.9)
@ -15,7 +15,7 @@ set_target_properties(ssheven PROPERTIES LINK_FLAGS "-Wl,-gc-sections -Wl,--mac-
target_link_libraries(ssheven ssh2 mbedtls mbedx509 mbedcrypto OpenTransportApp OpenTransport OpenTptInet vterm retrocrt) target_link_libraries(ssheven ssh2 mbedtls mbedx509 mbedcrypto OpenTransportApp OpenTransport OpenTptInet vterm retrocrt)
ELSE() ELSE()
# for PPC # for PPC
set_target_properties(ssheven PROPERTIES COMPILE_FLAGS "-ffunction-sections -O3 -Wall -Wextra -Wno-unused-parameter") set_target_properties(ssheven PROPERTIES COMPILE_FLAGS "-ffunction-sections -mcpu=601 -O3 -Wall -Wextra -Wno-unused-parameter")
set_target_properties(ssheven PROPERTIES LINK_FLAGS "-Wl,-gc-sections") set_target_properties(ssheven PROPERTIES LINK_FLAGS "-Wl,-gc-sections")
target_link_libraries(ssheven ThreadsLib ssh2 mbedtls mbedx509 mbedcrypto OpenTransportAppPPC OpenTransportLib OpenTptInternetLib vterm retrocrt) target_link_libraries(ssheven ThreadsLib ssh2 mbedtls mbedx509 mbedcrypto OpenTransportAppPPC OpenTransportLib OpenTptInternetLib vterm retrocrt)
ENDIF() ENDIF()