aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-29 13:59:25 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:58 +0200
commit7215ae059150bc33ce280d58b2195ec0e569e42d (patch)
treeb4a2ca9270bae6ddf82f19fae322df8ea8041dab
parent8c3fe8c68b40097e9326682c2073b71201358a2d (diff)
downloadlibnitrokey-7215ae059150bc33ce280d58b2195ec0e569e42d.tar.gz
libnitrokey-7215ae059150bc33ce280d58b2195ec0e569e42d.tar.bz2
Ignore compiler warnings regarding variable size struct
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5cd0e30..cf0cf0c 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ INCLUDE = -Iinclude/
LIB = -lhidapi-libusb
BUILD = build
-CXXFLAGS = -std=c++14 -fPIC
+CXXFLAGS = -std=c++14 -fPIC -Wno-gnu-variable-sized-type-not-at-end
SOFLAGS = -shared
CXXSOURCES = $(wildcard *.cc)