summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-24 15:52:57 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-11-26 18:56:23 +0100
commit6eca4d657aafddcb9685df4b599a8913ac075b3a (patch)
treea0862e9ba5b0aca2770e49ac7b183d11263291b0 /unittest
parent003189e780af8208f243bbd312df5f5295015eb1 (diff)
downloadlibnitrokey-6eca4d657aafddcb9685df4b599a8913ac075b3a.tar.gz
libnitrokey-6eca4d657aafddcb9685df4b599a8913ac075b3a.tar.bz2
Disable warnings about GNU extension during C++ tests compilation
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest')
-rw-r--r--unittest/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/Makefile b/unittest/Makefile
index 9e8fbc1..dbd003e 100644
--- a/unittest/Makefile
+++ b/unittest/Makefile
@@ -8,7 +8,7 @@ LIB = -L../build
LDLIBS = -lnitrokey
BUILD = build
-CXXFLAGS = -std=c++14 -fPIC
+CXXFLAGS = -std=c++14 -fPIC -Wno-gnu-variable-sized-type-not-at-end
CXXSOURCES = $(wildcard *.cc)
TARGETS = $(CXXSOURCES:%.cc=$(BUILD)/%)