From 64b22229e339bef4a3bc9d2a42529da9073a0674 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Mon, 22 Dec 2008 16:45:32 +0200 Subject: Makefile: Fix live555 compilation The change to create .d files with .o incorrectly used CFLAGS instead of CXXFLAGS when compiling .cpp files. This broke the build if live555, which is the only part using C++ code, was enabled. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4d0fa66b87..6ad523c2a5 100644 --- a/Makefile +++ b/Makefile @@ -780,7 +780,7 @@ all: $(ALL_PRG-yes) $(CC) $(CFLAGS) -c -o $@ -MD -MP -MF $*.d $< %.o: %.cpp - $(CXX) $(CFLAGS) -c -o $@ -MD -MP -MF $*.d $< + $(CXX) $(CXXFLAGS) -c -o $@ -MD -MP -MF $*.d $< %.o: %.m $(CC) $(CFLAGS) -c -o $@ -MD -MP -MF $*.d $< -- cgit v1.2.3