Changeset 4272

Show
Ignore:
Timestamp:
12/29/06 22:07:24 (2 years ago)
Author:
mmh
Message:

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).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/Makefile

    r4228 r4272  
    478478 
    479479ifeq ($(DEBUG),1) 
    480 FLEX_FLAGS := -Psensors_yy -t -b -Cf 
     480FLEX_FLAGS := -Psensors_yy -t -b -Cfe -8 
    481481else 
    482 FLEX_FLAGS := -Psensors_yy -t -Cf 
     482FLEX_FLAGS := -Psensors_yy -t -Cfe -8 
    483483endif 
    484484