projects
/
kinect-audio-setup.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix broken links to the Kinect For Windows EULA
[kinect-audio-setup.git]
/
kinect_upload_fw
/
Makefile
diff --git
a/kinect_upload_fw/Makefile
b/kinect_upload_fw/Makefile
index
2cca6fd
..
c8bbc86
100644
(file)
--- a/
kinect_upload_fw/Makefile
+++ b/
kinect_upload_fw/Makefile
@@
-30,10
+30,13
@@
CFLAGS += -fno-common \
-Wswitch-enum \
-Wundef \
-Wunreachable-code \
-Wswitch-enum \
-Wundef \
-Wunreachable-code \
- -Wunsafe-loop-optimizations \
-Wwrite-strings
-Wwrite-strings
-CFLAGS += $(shell pkg-config --cflags libusb-1.0)
+ifneq ($(CC),clang)
+ CFLAGS += -Wunsafe-loop-optimizations
+endif
+
+CFLAGS += $(shell pkg-config --cflags libusb-1.0)
LDLIBS += $(shell pkg-config --libs libusb-1.0)
PREFIX ?= /usr/local
LDLIBS += $(shell pkg-config --libs libusb-1.0)
PREFIX ?= /usr/local