[Mirmince-commits] {mirmince} branch master updated. f78f0d95fd76fb1d9f536b85f89012a50debb225
tg at freewrt.org
tg at freewrt.org
Wed Jan 23 23:25:26 UTC 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main git repository for FreeWRT project mirmince".
The branch, master has been updated
via f78f0d95fd76fb1d9f536b85f89012a50debb225 (commit)
via 2616d1eccc1376330a4349964f71336e294c069d (commit)
from 467b5d4ab05ff1a36948646801e7c66c4a2de28e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f78f0d95fd76fb1d9f536b85f89012a50debb225
Author: Thorsten Glaser <tg at freewrt.org>
Date: Wed Jan 23 23:25:07 2013 +0000
GCC 4.7 on Debian wheezy/amd64 is a bit more anal about prototypes
commit 2616d1eccc1376330a4349964f71336e294c069d
Author: Thorsten Glaser <tg at freewrt.org>
Date: Wed Jan 23 23:24:01 2013 +0000
GCC’s builtins go against us, just disable the implicit form
-----------------------------------------------------------------------
Summary of changes:
Makefile | 1 +
mi/exit.c | 2 +-
mi/strlen.c | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index c3c882b..0597293 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ SHELL= /bin/mksh
LIBCDIR= ${.CURDIR}
OBJADIR!= realpath .
TG_CC:= ${CC}
+TG_CFLAGS+= -fno-builtin
CC:= ${OBJADIR}/cc
_CONF:= ${LIBCDIR}/obj/.conf-${TG_ARCH:Q}-${TG_OS:Q}-${OBJADIR:S!/!_!g:Q}
diff --git a/mi/exit.c b/mi/exit.c
index 99b7bc0..ec8af0b 100644
--- a/mi/exit.c
+++ b/mi/exit.c
@@ -24,7 +24,7 @@ extern int _exit__(int status)
mirmince_dead
mirmincE_cc__exit__;
-void
+mirmincE_cc_exit void
exit(int status)
{
_exit__(status);
diff --git a/mi/strlen.c b/mi/strlen.c
index 160b7fb..ad59e86 100644
--- a/mi/strlen.c
+++ b/mi/strlen.c
@@ -20,7 +20,7 @@
#include <string.h>
-size_t
+mirmince_cc_userspc size_t
strlen(const char *s)
{
register const char *cp = s;
hooks/post-receive
--
Main git repository for FreeWRT project mirmince
(FreeWRT project mirmince repository mirmince)
More information about the Mirmince-commits
mailing list