SmartAudio/package/libs/uclient/patches/001-add-CFLAGS-no-error-unu...

14 lines
514 B
Diff
Raw Permalink Normal View History

2018-07-13 01:31:50 +00:00
Index: uclient-2016-01-28/CMakeLists.txt
===================================================================
--- uclient-2016-01-28.orig/CMakeLists.txt
+++ uclient-2016-01-28/CMakeLists.txt
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.6)
INCLUDE(CheckIncludeFiles)
PROJECT(uclient C)
-ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations)
+ADD_DEFINITIONS(-Os -Wall -Werror -Wno-error=unused-result --std=gnu99 -g3 -Wmissing-declarations)
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")