Rev 5131 | Rev 9704 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5131 | Rev 5132 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | CFLAGS = "-Os -fno-ident -fomit-frame-pointer -fno-stack-check -fno-stack-protector -mno-stack-arg-probe -mpreferred-stack-boundary=2 -fno-exceptions -fno-asynchronous-unwind-tables -ffast-math -mno-ms-bitfields -march=pentium-mmx" |
1 | CFLAGS_GENERIC = "-fno-ident -fomit-frame-pointer -fno-stack-check -fno-stack-protector -mno-stack-arg-probe -fno-exceptions -fno-asynchronous-unwind-tables -ffast-math -mno-ms-bitfields -march=pentium-mmx" |
- | 2 | CFLAGS_OPTIMIZE_SIZE = "-Os -mpreferred-stack-boundary=2 " .. CFLAGS_GENERIC |
|
- | 3 | CFLAGS_OPTIMIZE_SPEED = "-O2 -mpush-args -mno-accumulate-outgoing-args " .. CFLAGS_GENERIC |
|
- | 4 | -- The following could in specific cases be marginally faster CFLAGS_OPTIMIZE_SPEED, |
|
- | 5 | -- and in all cases gives a notable overhead in size. |
|
- | 6 | CFLAGS_OPTIMIZE_SPEED_INSANE = "-O2 " .. CFLAGS_GENERIC |
|
- | 7 | -- Default is optimizing by size. Override on per-project or per-file basis. |
|
- | 8 | CFLAGS = CFLAGS_OPTIMIZE_SIZE |
|
- | 9 | ||
2 | CFLAGS_c = "" -- extra flags for *.c |
10 | CFLAGS_c = "" -- extra flags for *.c |
3 | CFLAGS_cpp = " -fno-rtti" -- extra flags for *.cpp |
11 | CFLAGS_cpp = " -fno-rtti" -- extra flags for *.cpp |
4 | LDFLAGS = "-nostdlib -n --file-alignment=16 --section-alignment=16" |
12 | LDFLAGS = "-nostdlib -n --file-alignment=16 --section-alignment=16" |
5 | INCLUDES = "" |
13 | INCLUDES = "" |
6 | LIBS = "" |
14 | LIBS = "" |