diff Makefile @ 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 f5a8c71d94cf
children 9dda4cbf1211
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)