From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (kristaps@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p1OEUGeK017675 for ; Thu, 24 Feb 2011 09:30:16 -0500 (EST) Received: (from kristaps@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id p1OEUFA9026143; Thu, 24 Feb 2011 09:30:15 -0500 (EST) Date: Thu, 24 Feb 2011 09:30:15 -0500 (EST) Message-Id: <201102241430.p1OEUFA9026143@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: kristaps@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Allow compilation with pcc, which has interesting/broken X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Allow compilation with pcc, which has interesting/broken handling of -W with missing function prototypes. Ok joerg@. Modified Files: -------------- mdocml: Makefile Revision Data ------------- Index: Makefile =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/Makefile,v retrieving revision 1.311 retrieving revision 1.312 diff -LMakefile -LMakefile -u -p -r1.311 -r1.312 --- Makefile +++ Makefile @@ -333,13 +333,13 @@ config.h: config.h.pre config.h.post rm -f config.log ( cat config.h.pre; \ echo; \ - if $(CC) $(CFLAGS) -Werror -c test-strlcat.c >> config.log 2>&1; then \ + if $(CC) $(CFLAGS) -Werror -o test-strlcat test-strlcat.c >> config.log 2>&1; then \ echo '#define HAVE_STRLCAT'; \ - rm test-strlcat.o; \ + rm test-strlcat; \ fi; \ - if $(CC) $(CFLAGS) -Werror -c test-strlcpy.c >> config.log 2>&1; then \ + if $(CC) $(CFLAGS) -Werror -o test-strlcpy test-strlcpy.c >> config.log 2>&1; then \ echo '#define HAVE_STRLCPY'; \ - rm test-strlcpy.o; \ + rm test-strlcpy; \ fi; \ echo; \ cat config.h.post \ -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv