comparison Makefile @ 26058:e2ee46838240

Compile codec-cfg binary with -O, avoids problems due to compilers not being well tested with optimizations disabled (e.g. ICC 10.1.008 generates a non-existing "rorw $8, %st(7)" instruction).
author reimar
date Sun, 24 Feb 2008 13:04:29 +0000
parents 7ab58f012dd3
children 1bee753acda2
comparison
equal deleted inserted replaced
26057:044b3c830459 26058:e2ee46838240
228 228
229 mencoder$(EXESUF): $(MENCODER_DEPS) 229 mencoder$(EXESUF): $(MENCODER_DEPS)
230 $(CC) -o $@ $^ $(LDFLAGS_MENCODER) 230 $(CC) -o $@ $^ $(LDFLAGS_MENCODER)
231 231
232 codec-cfg$(EXESUF): codec-cfg.c codec-cfg.h help_mp.h 232 codec-cfg$(EXESUF): codec-cfg.c codec-cfg.h help_mp.h
233 $(HOST_CC) -I. -DCODECS2HTML $< -o $@ 233 $(HOST_CC) -O -I. -DCODECS2HTML $< -o $@
234 234
235 codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf 235 codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf
236 ./codec-cfg$(EXESUF) ./etc/codecs.conf > $@ 236 ./codec-cfg$(EXESUF) ./etc/codecs.conf > $@
237 237
238 codec-cfg.o: codecs.conf.h 238 codec-cfg.o: codecs.conf.h