Skip to content

Commit

Permalink
chore: <z88dk/z88dk#2223>
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoDornelles committed Apr 11, 2023
1 parent f868bd6 commit 76a355f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmake/toolchain/zcc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ set(CMAKE_ASM_OSX_DEPLOYMENT_TARGET_FLAG "" CACHE STRING "" FORCE)

set(VARS "export ZCCCFG=${CFG_PATH} && export PATH=${BIN_PATH}:$$PATH &&")
set(CMAKE_C_COMPILE_OBJECT "${VARS} <CMAKE_C_COMPILER> <FLAGS> <INCLUDES> <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>" CACHE STRING "" FORCE)
set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <FLAGS> <INCLUDES> <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>" CACHE STRING "" FORCE)
set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_C_COMPILER> <FLAGS> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>" CACHE STRING "" FORCE)
set(CMAKE_ASM_COMPILE_OBJECT "${VARS} <CMAKE_ASM_COMPILER> <FLAGS> <INCLUDES> <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>" CACHE STRING "" FORCE)
set(CMAKE_C_LINK_EXECUTABLE "${VARS} <CMAKE_C_COMPILER> <FLAGS> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>" CACHE STRING "" FORCE)

include(${CMAKE_SOURCE_DIR}/cmake/cross.cmake)
2 changes: 1 addition & 1 deletion src/3bc_detect.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* and resource optimization purposes.
*/

#if defined(_MSC_VER)
#if defined(_MSC_VER) || defined(__Z88DK)
#define TBC_PRG_WARNING
#endif
#if defined(__STDC_VERSION__)
Expand Down

0 comments on commit 76a355f

Please sign in to comment.