Subversion Repositories Kolibri OS

Rev

Rev 5098 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5098 Rev 5123
Line 1... Line 1...
1
if tup.getconfig('NO_GCC') ~= "" then return end
1
if tup.getconfig('NO_GCC') ~= "" then return end
2
CFLAGS = "-Os -fno-stack-check -fno-stack-protector -mno-stack-arg-probe -fno-ident -fomit-frame-pointer -fno-asynchronous-unwind-tables -mpreferred-stack-boundary=2"
2
CFLAGS = "-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"
3
OBJS = tup.foreach_rule({"*.cpp", extra_inputs = {"../../config.h"}},
3
OBJS = tup.foreach_rule({"*.cpp", extra_inputs = {"../../config.h"}},
4
  'kos32-gcc -c -I../../include -D__DEV_CONFIG_H=\\"../../config.h\\" ' .. CFLAGS .. " -o %o %f",
4
  'kos32-gcc -c -I../../include -D__DEV_CONFIG_H=\\"../../config.h\\" ' .. CFLAGS .. " -o %o %f",
5
  "%B.o")
5
  "%B.o")
6
tup.rule(OBJS, "kos32-ar rcs %o %f", {"../../lib/libcpp.a", "../../"})
6
tup.rule(OBJS, "kos32-ar rcs %o %f", {"../../lib/libcpp.a", "../../"})