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 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libscpi/Makefile b/libscpi/Makefile index cd14ad4..9a0b5ee 100644 --- a/libscpi/Makefile +++ b/libscpi/Makefile @@ -1,9 +1,9 @@ VERSION = 2.1.0 LIBNAME = scpi -CFLAGS += -Wextra -Wmissing-prototypes -Wimplicit -g -Iinc +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