summaryrefslogtreecommitdiff
path: root/Makefile.m32
diff options
context:
space:
mode:
authorYu Jiung <jiung.yu@samsung.com>2016-11-09 11:23:06 +0900
committerYu Jiung <jiung.yu@samsung.com>2016-11-09 11:23:15 +0900
commit8e609b5f488d486a9e066ed494218d966f489938 (patch)
tree0a169eb7025401e0a14ab5d5e74db5b27954f591 /Makefile.m32
parenteb886f120599b2a184db20b527db6dfdfcb7852e (diff)
downloadc-ares-8e609b5f488d486a9e066ed494218d966f489938.tar.gz
c-ares-8e609b5f488d486a9e066ed494218d966f489938.tar.bz2
c-ares-8e609b5f488d486a9e066ed494218d966f489938.zip
Imported Upstream version 1.12.0upstream/1.12.0
Change-Id: I6a571bddd24d1cb7d64b74bc66e878ccba2ce638
Diffstat (limited to 'Makefile.m32')
-rw-r--r--Makefile.m3213
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
-