root/Whitix/trunk/user/make.config

Revision 1728, 0.6 KB (checked in by mwhitworth, 3 years ago)

Add to formatting.

Line 
1# Tweakables.
2STRICT = n
3
4ifeq ($(STRICT), y)
5CFLAGS += -Werror
6endif
7
8BASE_CFLAGS = -nostdinc -ffreestanding -fno-builtin \
9        -fno-leading-underscore -O2 -Wall -fno-stack-protector -m32
10CFLAGS += -I$(DEPTH)include -I$(DEPTH)librtl -I$(DEPTH)posix/include
11ASFLAGS =
12RM = rm -f
13
14BASE_LDFLAGS = -nodefaultlibs -nostdlib -m32 -Wl,--hash-style=gnu
15LD = @echo "  \033[36mLINK $^ -o $@"; tput sgr0;  $(CC) $(BASE_LDFLAGS) -Bdynamic -L$(DEPTH)/libc -Wl,-llinker -Wl,-I/System/Runtime/liblinker.so
16
17LD_SHARED = $(LD) -shared $(DEPTH)/libc/init/crt_begin.o $(DEPTH)/libc/init/crt_end.o
Note: See TracBrowser for help on using the browser.