Description: Remove_default_CXX_flags
 So it is built only with Debian defaults.
 .
 lightgbm (2.2.1+debian-1) unstable; urgency=medium
 .
   * New upstream release.
Author: Adam Cecile <acecile@le-vert.net>

---
Origin: other
Forwarded: not-needed
Last-Update: 2018-10-23

--- lightgbm-2.2.1+debian.orig/CMakeLists.txt
+++ lightgbm-2.2.1+debian/CMakeLists.txt
@@ -113,7 +113,7 @@ if(USE_HDFS)
 endif(USE_HDFS)
 
 if(UNIX OR MINGW OR CYGWIN)
-    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread -O3 -Wextra -Wall -Wno-ignored-attributes -Wno-unknown-pragmas -Wno-return-type")
+    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread")
 endif()
 
 if(WIN32 AND MINGW)
