aboutsummaryrefslogtreecommitdiff
path: root/testcases
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2019-04-12 01:31:13 +0200
committerPetr Vorel <petr.vorel@gmail.com>2019-04-14 11:58:25 +0200
commit4e27a74b1c9004cbaac3fa8a92a9e406c72305e0 (patch)
tree0c4600cac4160756c9433b5350f4f2a4fc359a19 /testcases
parent3c8704ff14ff5a7ba371aafeffe3513b674d6651 (diff)
cve/cve-2014-0196: Don't use libutil for Android
as it's not available for it. Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Acked-by: Sandeep Patil <sspatil@android.com>
Diffstat (limited to 'testcases')
-rw-r--r--testcases/cve/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/testcases/cve/Makefile b/testcases/cve/Makefile
index 6dc401cff..da44fff60 100644
--- a/testcases/cve/Makefile
+++ b/testcases/cve/Makefile
@@ -27,7 +27,11 @@ cve-2016-7117: CFLAGS += -pthread
cve-2016-7117: LDLIBS += -lrt
cve-2014-0196: CFLAGS += -pthread
-cve-2014-0196: LDLIBS += -lrt -lutil
+cve-2014-0196: LDLIBS += -lrt
+
+ifneq ($(ANDROID),1)
+cve-2014-0196: LDLIBS += -lutil
+endif
cve-2017-2671: CFLAGS += -pthread
cve-2017-2671: LDLIBS += -lrt