mirror of
https://github.com/aaru-dps/aaruremote.git
synced 2025-12-16 11:14:35 +00:00
Disable using sys/endian.h
This commit is contained in:
@@ -10,16 +10,11 @@ set(MAIN_SOURCES aaruremote.h endian.h hex2bin.c list_devices.c main.c worker.c)
|
||||
add_library(aaruremotecore ${MAIN_SOURCES})
|
||||
|
||||
CHECK_INCLUDE_FILES("endian.h" HAVE_ENDIAN_H)
|
||||
CHECK_INCLUDE_FILES("sys/endian.h" HAVE_SYS_ENDIAN_H)
|
||||
|
||||
if (HAVE_ENDIAN_H)
|
||||
add_definitions(-DHAVE_ENDIAN_H)
|
||||
endif ()
|
||||
|
||||
if (HAVE_SYS_ENDIAN_H)
|
||||
add_definitions(-DHAVE_SYS_ENDIAN_H)
|
||||
endif ()
|
||||
|
||||
if (WII)
|
||||
set(CMAKE_C_FLAGS "-mrvl -mcpu=750 -meabi -mhard-float")
|
||||
add_definitions(-DGEKKO=1)
|
||||
|
||||
Reference in New Issue
Block a user