diff options
Diffstat (limited to 'Makefile.m32')
-rw-r--r-- | Makefile.m32 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Makefile.m32 b/Makefile.m32 index 42149f5..c27a597 100644 --- a/Makefile.m32 +++ b/Makefile.m32 @@ -10,16 +10,16 @@ LIB = libcares.a -AR = ar -CC = gcc -LD = gcc -RANLIB = ranlib +AR = $(CROSSPREFIX)ar +CC = $(CROSSPREFIX)gcc +LD = $(CROSSPREFIX)gcc +RANLIB = $(CROSSPREFIX)ranlib #RM = rm -f CP = cp -afv -CFLAGS = -O2 -Wall -I. +CFLAGS = $(CARES_CFLAG_EXTRAS) -O2 -Wall -I. CFLAGS += -DCARES_STATICLIB -LDFLAGS = -s +LDFLAGS = $(CARES_LDFLAG_EXTRAS) -s LIBS = -lwsock32 # Makefile.inc provides the CSOURCES and HHEADERS defines @@ -74,4 +74,3 @@ distclean: clean ifeq "$(wildcard ares_build.h.dist)" "ares_build.h.dist" $(RM) ares_build.h endif - |