equal
deleted
inserted
replaced
21 include $(SBS_HOME:\=/)/util/gccprogram.mk |
21 include $(SBS_HOME:\=/)/util/gccprogram.mk |
22 |
22 |
23 ifeq ($(filter win,$(HOSTPLATFORM)),win) |
23 ifeq ($(filter win,$(HOSTPLATFORM)),win) |
24 PROCESS_C:=process_win.c |
24 PROCESS_C:=process_win.c |
25 CFLAGS:=-DHOST_WIN |
25 CFLAGS:=-DHOST_WIN |
|
26 ifeq ($(SBS_MINGW),) |
26 LDFLAGS:=$(subst \,/,$(SBS_HOME:\=/)\win32\mingw\lib\libiberty.a) |
27 LDFLAGS:=$(subst \,/,$(SBS_HOME:\=/)\win32\mingw\lib\libiberty.a) |
|
28 else |
|
29 LDFLAGS:=$(subst \,/,$(SBS_MINGW:\=/)\lib\libiberty.a) |
|
30 endif |
27 else |
31 else |
28 PROCESS_C:=process.c |
32 PROCESS_C:=process.c |
29 CFLAGS:=-g |
33 CFLAGS:=-g |
30 linux_PTHREADLIBS:=-lpthread |
34 linux_PTHREADLIBS:=-lpthread |
31 LDFLAGS:=$(linux_PTHREADLIBS) -lrt |
35 LDFLAGS:=$(linux_PTHREADLIBS) -lrt |