all repos — mgba @ d60e4972e9caff5709327daf20c5930507c0fed8

mGBA Game Boy Advance Emulator

PSP2: Add -Wno-format to remove all of the format string warnings
Jeffrey Pfau jeffrey@endrift.com
Wed, 08 Jul 2015 19:19:58 -0700
commit

d60e4972e9caff5709327daf20c5930507c0fed8

parent

c4800792ecdf9a13fce0a3006d8be27032b6a9e6

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -215,6 +215,10 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "arm.*")

enable_language(ASM) endif() +if(PSP2) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-format") +endif() + include(CheckFunctionExists) check_function_exists(strdup HAVE_STRDUP) check_function_exists(strndup HAVE_STRNDUP)