From 9491d87fe15fa6aaade3e68e5a1f550b3ab5e8f4 Mon Sep 17 00:00:00 2001
From: Tommy Olofsson <tommy.olofsson.90@gmail.com>
Date: Wed, 2 Apr 2014 23:05:48 +0200
Subject: [PATCH] Do not let labcomm use stderr (which is undefined on frida).

---
 lib/c/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/c/Makefile b/lib/c/Makefile
index c5af86b..fcb53ba 100644
--- a/lib/c/Makefile
+++ b/lib/c/Makefile
@@ -10,7 +10,7 @@ ifeq ($(UNAME_S),Linux)
     CC=i586-wrs-vxworks-gcc
     LD=i586-wrs-vxworks-ld
     ALL_DEPS:=$(filter-out %.so.1, $(ALL_DEPS))
-    CFLAGS:=$(CFLAGS) -DLABCOMM_COMPAT=\"labcomm_compat_vxworks.h\"
+    CFLAGS:=$(CFLAGS) -DLABCOMM_COMPAT=\"labcomm_compat_vxworks.h\" -DLABCOMM_NO_STDIO
   else
     @echo 'Invalid target.'
   endif
-- 
GitLab