forked from KolibriOS/kolibrios
* gcc flags: add -march=pentium-mmx -fno-rtti
* menuetlibc: fix printf, sprintf * menuetlibc: alias clock() to sysfn 26.9. Not exactly what is required by POSIX, but better than zero * autobuild games/checkers git-svn-id: svn://kolibrios.org@5123 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
if tup.getconfig('NO_GCC') ~= "" then return end
|
||||
CFLAGS="-D_USE_LIBM_MATH_H -Os -fno-stack-check -fno-stack-protector -mno-stack-arg-probe -fno-ident -fomit-frame-pointer -fno-asynchronous-unwind-tables -mpreferred-stack-boundary=2"
|
||||
CFLAGS="-D_USE_LIBM_MATH_H -Os -fno-stack-check -fno-stack-protector -mno-stack-arg-probe -fno-ident -fomit-frame-pointer -fno-asynchronous-unwind-tables -mpreferred-stack-boundary=2 -march=pentium-mmx"
|
||||
OBJS = tup.foreach_rule({"*.c", extra_inputs = {"../../config.h"}},
|
||||
'kos32-gcc -c -I../../include -D__DEV_CONFIG_H=\\"../../config.h\\" ' .. CFLAGS .. ' -o %o %f',
|
||||
"%B.o")
|
||||
|
@@ -28,7 +28,7 @@ static char rcsid[] = "$Id: k_standard.c,v 1.4 1994/08/10 20:31:44 jtc Exp $";
|
||||
#undef fflush
|
||||
#endif /* !defined(_USE_WRITE) */
|
||||
|
||||
inline int fputs(const char* str, FILE* f) { return -1; }
|
||||
#define fputs /*nothing*/
|
||||
|
||||
#ifdef __STDC__
|
||||
static const double zero = 0.0; /* used as const */
|
||||
|
Reference in New Issue
Block a user