aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Uoti Urpala <uau@glyph.nonexistent.invalid>2008-12-22 16:45:32 +0200
committerGravatar Uoti Urpala <uau@glyph.nonexistent.invalid>2008-12-22 16:45:32 +0200
commit64b22229e339bef4a3bc9d2a42529da9073a0674 (patch)
treece5b31ab32f59f84fd055e1b42d4a93dc5a2bf18 /Makefile
parent9afb39ccff089c1269ab3bc7e519897d89b9c7a5 (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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 $<