From 2a1fbbd629e4c1d7f636bbb7817bea1ba082981a Mon Sep 17 00:00:00 2001
From: folkert van heusden <mail@vanheusden.com>
Date: 周五, 19 11月 2021 05:00:39 +0800
Subject: [PATCH] The problem of the fragmented *IDN? response can be mitigated somewhat by enabling nagle during the response to that command.

---
 libscpi/Makefile |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libscpi/Makefile b/libscpi/Makefile
index b1e95cb..9a0b5ee 100644
--- a/libscpi/Makefile
+++ b/libscpi/Makefile
@@ -1,10 +1,9 @@
 VERSION = 2.1.0
 LIBNAME = scpi
 
-CFLAGS += -std=c99
 CFLAGS += -Wextra -Wmissing-prototypes -Wimplicit -Iinc
 CFLAGS_SHARED += $(CFLAGS) -fPIC
-LDFLAGS += -Wl,--as-needed
+LDFLAGS += -lm -Wl,--as-needed
 #TESTCFLAGS += $(CFLAGS) `pkg-config --cflags cunit`
 #TESTLDFLAGS += $(LDFLAGS) `pkg-config --libs cunit`
 TESTCFLAGS += $(CFLAGS)

--
Gitblit v1.9.1