Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5098 | clevermous | 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" |
||
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", |
||
5 | "%B.o") |
||
6 | tup.rule(OBJS, "kos32-ar rcs %o %f", {"../../lib/libcpp.a", "../../ |