summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-07-11 16:58:44 -0700
committerJoshua Haberman <joshua@reverberate.org>2010-07-11 16:58:44 -0700
commitfcfc37e7d41f87bc9ff5ecfb64e0aebb3457c633 (patch)
tree0f18f8158ad6c1048a79f62d60719891898411da /Makefile
parentc7a95061a7c02ffeebd71eeb56bf19fc1c1797dd (diff)
Reduce decoder memory usage.
The "field" entry was only being used to determine whether we were inside a group, but the "end_offset" member contains enough information to tell us that.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2b2a269..c37df72 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ OTHERSRC=src/upb_encoder.c src/upb_text.c
# Override the optimization level for upb_def.o, because it is not in the
# critical path but gets very large when -O3 is used.
core/upb_def.o: core/upb_def.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -O0 -c -o $@ $<
+ $(CC) $(CFLAGS) $(CPPFLAGS) -Os -c -o $@ $<
core/upb_def.lo: core/upb_def.c
$(CC) $(CFLAGS) $(CPPFLAGS) -Os -c -o $@ $< -fPIC
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback