mirror of https://github.com/cy384/ssheven.git
target 601 for PPC builds (GH bug #16)
This commit is contained in:
parent
41452a537c
commit
686a3010d1
|
@ -1,6 +1,6 @@
|
|||
# ssheven
|
||||
#
|
||||
# Copyright (c) 20201 by cy384 <cy384@cy384.com>
|
||||
# Copyright (c) 2021 by cy384 <cy384@cy384.com>
|
||||
# See LICENSE file for details
|
||||
|
||||
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)
|
||||
ELSE()
|
||||
# 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")
|
||||
target_link_libraries(ssheven ThreadsLib ssh2 mbedtls mbedx509 mbedcrypto OpenTransportAppPPC OpenTransportLib OpenTptInternetLib vterm retrocrt)
|
||||
ENDIF()
|
||||
|
|
Loading…
Reference in New Issue