mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Some MinGW makefile tweaks for MinGW64.
This commit is contained in:
parent
b98594c8bf
commit
f02325ea65
@ -50,8 +50,16 @@ ifndef LIBCARES_PATH
|
|||||||
LIBCARES_PATH = ../ares
|
LIBCARES_PATH = ../ares
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Edit the var below to set to your architecture or set environment var.
|
||||||
|
ifndef ARCH
|
||||||
|
ARCH = w32
|
||||||
|
endif
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -g -O2 -Wall
|
CFLAGS = -g -O2 -Wall
|
||||||
|
ifeq ($(ARCH),w64)
|
||||||
|
CFLAGS += -D_AMD64_
|
||||||
|
endif
|
||||||
# comment LDFLAGS below to keep debug info
|
# comment LDFLAGS below to keep debug info
|
||||||
LDFLAGS = -s
|
LDFLAGS = -s
|
||||||
AR = ar
|
AR = ar
|
||||||
|
@ -50,8 +50,16 @@ ifndef LIBCARES_PATH
|
|||||||
LIBCARES_PATH = ../ares
|
LIBCARES_PATH = ../ares
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Edit the var below to set to your architecture or set environment var.
|
||||||
|
ifndef ARCH
|
||||||
|
ARCH = w32
|
||||||
|
endif
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -g -O2 -Wall
|
CFLAGS = -g -O2 -Wall
|
||||||
|
ifeq ($(ARCH),w64)
|
||||||
|
CFLAGS += -D_AMD64_
|
||||||
|
endif
|
||||||
# comment LDFLAGS below to keep debug info
|
# comment LDFLAGS below to keep debug info
|
||||||
LDFLAGS = -s
|
LDFLAGS = -s
|
||||||
RC = windres
|
RC = windres
|
||||||
|
Loading…
Reference in New Issue
Block a user