diff 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
line wrap: on
line diff
--- a/Makefile	Sun Feb 24 12:53:11 2008 +0000
+++ b/Makefile	Sun Feb 24 13:04:29 2008 +0000
@@ -230,7 +230,7 @@
 	$(CC) -o $@ $^ $(LDFLAGS_MENCODER)
 
 codec-cfg$(EXESUF): codec-cfg.c codec-cfg.h help_mp.h
-	$(HOST_CC) -I. -DCODECS2HTML $< -o $@
+	$(HOST_CC) -O -I. -DCODECS2HTML $< -o $@
 
 codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf
 	./codec-cfg$(EXESUF) ./etc/codecs.conf > $@