Rev 5223 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5223 | Rev 6324 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | LIB_DIR:= $(SDK_DIR)/lib |
3 | LIB_DIR:= $(SDK_DIR)/lib |
Line 4... | Line 4... | ||
4 | 4 | ||
5 | CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2 |
5 | CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2 |
6 | CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields |
6 | CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields |
- | 7 | CFLAGS_OPT+= -W -Wall -Wmissing-prototypes -Wno-format -Werror |
|
- | 8 | ELF_CFLAGS = -DELF_LIST_OPTIONS=FALSE -DELF_SHLIB_LIST_OPTIONS=FALSE |
|
7 | CFLAGS_OPT+= -W -Wall -Wmissing-prototypes -Wno-format -Werror |
9 | ELF_CFLAGS+= -DELF_PLT_UNWIND_LIST_OPTIONS=FALSE |
Line 8... | Line 10... | ||
8 | CFLAGS = -c -save-temps $(CFLAGS_OPT) |
10 | CFLAGS = -c -save-temps $(CFLAGS_OPT) $(ELF_CFLAGS) |
Line 9... | Line 11... | ||
9 | 11 | ||
10 | INCLUDES= -I. -I../bfd -I../include -I$(SDK_DIR)/sources/newlib/libc/include |
12 | INCLUDES= -I. -I../bfd -I../include -I$(SDK_DIR)/sources/newlib/libc/include |
Line 18... | Line 20... | ||
18 | 20 | ||
Line 19... | Line 21... | ||
19 | LIBS= -lbfd -liberty -lz -lgcc -lc.dll -lapp |
21 | LIBS= -lbfd -liberty -lz -lgcc -lc.dll -lapp |
Line 20... | Line 22... | ||
20 | 22 | ||
Line 21... | Line 23... | ||
21 | LIBPATH:= -L$(LIB_DIR) -L/home/autobuild/tools/win32/mingw32/lib |
23 | LIBPATH:= -L$(LIB_DIR) -L/home/autobuild/tools/win32/mingw32/lib |
22 | 24 | ||
23 | LDFLAGS = -static -nostdlib --stack 12582912 -T$(SDK_DIR)/sources/newlib/app.lds --image-base 0 |
25 | LDFLAGS = -static -nostdlib --stack 12582912 -T$(SDK_DIR)/sources/newlib/app.lds --image-base 0 --subsystem native |
24 | 26 | ||
25 | 27 | ||
26 | SRCS = \ |
28 | SRCS = \ |
27 | deffilep.c ei386pe.c \ |
29 | deffilep.c ei386pe.c ldbuildid.c\ |