--- Makefile.orig 2014-08-11 07:48:28 UTC +++ Makefile @@ -111,7 +111,7 @@ $(opus-objs): CFLAGS += $(OPUS_CFLAGS) $(wavpack-objs): CFLAGS += $(WAVPACK_CFLAGS) $(mp4-objs): CFLAGS += $(MP4_CFLAGS) $(aac-objs): CFLAGS += $(AAC_CFLAGS) -$(ffmpeg-objs): CFLAGS += $(FFMPEG_CFLAGS) +$(ffmpeg-objs): CFLAGS := $(FFMPEG_CFLAGS) $(CFLAGS) $(cue-objs): CFLAGS += $(CUE_CFLAGS) cdio.so: $(cdio-objs) $(libcmus-y) @@ -231,10 +231,10 @@ $(man7): Doc/ttman $(call cmd,ttman) Doc/ttman.o: Doc/ttman.c - $(call cmd,hostcc,) + $(call cmd,cc,) Doc/ttman: Doc/ttman.o - $(call cmd,hostld,) + $(call cmd,ld,) quiet_cmd_ttman = MAN $@ cmd_ttman = Doc/ttman $< $@