Config.x86_linux 424 Bytes
Newer Older
1
2
3
# -*- Mode: makefile -*-
include Config.x86_common

Raymond Toy's avatar
Raymond Toy committed
4
5
CPPFLAGS += -m32 -D__NO_CTYPE -D_GNU_SOURCE
CFLAGS += -rdynamic  -march=pentium4 -mfpmath=sse -mtune=generic
6

7
8
9
10
UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
ASSEM_SRC +=  linux-stubs.S
OS_SRC += Linux-os.c elf.c
OS_LIBS = -ldl
11
12
OS_LINK_FLAGS = -m32 -rdynamic -Xlinker --export-dynamic -Xlinker -Map -Xlinker foo
OS_LINK_FLAGS += -Wl,-z,noexecstack
rtoy's avatar
rtoy committed
13
14

EXEC_FINAL_OBJ = exec-final.o