From b5ff067425f65c88edf85d1ab64b19688bebd551 Mon Sep 17 00:00:00 2001 From: "Mark M. Hoffman" Date: Fri, 29 Dec 2006 21:07:24 +0000 Subject: [PATCH] Modify libsensors scanner build flags... * add -8 When using -Cf, flex defaults to generating a 7-bit scanner instead of 8-bit. That's a bug, since we want the scanner to handle any character. Using -8 restores the proper behavior. * change -Cf to -Cfe This allows a nice reduction in object size (from ~60KiB to ~15KiB) with almost no impact to speed (adds < 100 cycles to scanner, where total cycles is > 1M). git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4272 7894878c-1315-0410-8ee3-d5d059ff63e0 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a7c6642f..66ee504d 100644 --- a/Makefile +++ b/Makefile @@ -477,9 +477,9 @@ manhtml: $(BISON) -p sensors_yy -d $< -o $@ ifeq ($(DEBUG),1) -FLEX_FLAGS := -Psensors_yy -t -b -Cf +FLEX_FLAGS := -Psensors_yy -t -b -Cfe -8 else -FLEX_FLAGS := -Psensors_yy -t -Cf +FLEX_FLAGS := -Psensors_yy -t -Cfe -8 endif %.c: %.l