summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-07-10 18:11:24 -0700
committerJoshua Haberman <joshua@reverberate.org>2010-07-10 18:11:24 -0700
commitdb6c7387bc1df49deac41155a173e33017a75ed8 (patch)
tree4ea4b29da78b4dfb0515aff260e86120b2036e6b /Makefile
parent67b16cbe5c55d00d7e576cdf479392f3a0e927a5 (diff)
Incremental progress towards getting upb_def to bootstrap.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 568dcad..2b2a269 100644
--- a/Makefile
+++ b/Makefile
@@ -48,12 +48,13 @@ clean:
# The core library (core/libupb.a)
SRC=core/upb.c stream/upb_decoder.c core/upb_table.c core/upb_def.c core/upb_string.c \
descriptor/descriptor.c
+$(SRC): perf-cppflags
# Parts of core that are yet to be converted.
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) -Os -c -o $@ $<
+ $(CC) $(CFLAGS) $(CPPFLAGS) -O0 -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