libfreenect: do not override CFLAGS
authorFlorian Fainelli <florian@openwrt.org>
Sat, 8 Mar 2014 00:56:55 +0000 (00:56 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 8 Mar 2014 00:56:55 +0000 (00:56 +0000)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39807

libs/libfreenect/patches/001-cflags_override.patch [new file with mode: 0644]

diff --git a/libs/libfreenect/patches/001-cflags_override.patch b/libs/libfreenect/patches/001-cflags_override.patch
new file mode 100644 (file)
index 0000000..a4862cc
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -4,8 +4,6 @@
+ include_directories (${CMAKE_CURRENT_SOURCE_DIR})
+-set(CMAKE_C_FLAGS "-Wall")
+-
+ include_directories(${LIBUSB_1_INCLUDE_DIRS})
+ IF(WIN32)
+   LIST(APPEND SRC core.c tilt.c cameras.c usb_libusb10.c registration.c ../platform/windows/libusb10emu/libusb-1.0/libusbemu.cpp ../platform/windows/libusb10emu/libusb-1.0/failguard.cpp)