lib: Fixes for newer GCC versions when compiling md5.c.

This commit is contained in:
Rom Walton 2014-08-26 12:21:00 -04:00
parent f01692a779
commit 53067d700e
3 changed files with 2 additions and 6 deletions

View File

@ -22,7 +22,7 @@ libfcgi_sources = \
coproc.cpp \
filesys.cpp \
hostinfo.cpp \
md5.c \
md5.cpp \
md5_file.cpp \
mfile.cpp \
miofile.cpp \
@ -47,7 +47,7 @@ generic_sources = \
gui_rpc_client_ops.cpp \
gui_rpc_client_print.cpp \
hostinfo.cpp \
md5.c \
md5.cpp \
md5_file.cpp \
mem_usage.cpp \
mfile.cpp \

View File

@ -205,10 +205,6 @@ wrapper.o: $(BOINC_SRC)/samples/wrapper/wrapper.cpp
%.o: $(BOINC_SRC)/samples/wrapper/%.c
$(CC) -c $< -o $@ $(CPPFLAGS) $(CFLAGS)
# C-mode file
md5.o: $(BOINC_SRC)/lib/md5.c
$(CXX) -c $(BOINC_SRC)/lib/md5.c -o md5.o $(CPPFLAGS) $(CXXFLAGS)
# for boinc_zip. Don't change the order!
zip:
mkdir -p $@