changeset 15163:54c257370678

cross-compilation fix: don't use target CFLAGS to compile host tools
author aurel
date Fri, 15 Apr 2005 14:55:03 +0000
parents 9c7c363837c9
children 31109192db12
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Apr 15 14:52:33 2005 +0000
+++ b/Makefile	Fri Apr 15 14:55:03 2005 +0000
@@ -277,7 +277,7 @@
 $(MENCODER_DEP): version.h help_mp.h
 
 $(PRG_CFG): version.h codec-cfg.c codec-cfg.h
-	$(HOST_CC) $(CFLAGS) -g codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML $(EXTRA_LIB) $(I18NLIBS)
+	$(HOST_CC) $(HOST_CFLAGS) -I. -g codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML $(EXTRA_LIB) $(I18NLIBS)
 
 install: $(ALL_PRG)
 ifeq ($(VIDIX),yes)