git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rewrite the lunabuild toolchain with enhanced feature (#60)
[lunaix-os.git]
/
lunaix-os
/
makeinc
/
toolchain.mkinc
1
CC := $(CX_PREFIX)gcc
2
CC := $(CX_PREFIX)gcc
3
AS := $(CX_PREFIX)as
4
AR := $(CX_PREFIX)ar
5
LBUILD ?= $(shell realpath ./scripts/build-tools/luna_build.py)
6
7
ifeq ($(MODE),debug)
8
O := -Og
9
else
10
O := -O2
11
endif
12
13
LDFLAGS := $(O)
14
CFLAGS := -std=gnu99 -g $(O)
15
MKFLAGS := --no-print-directory