28 lines
798 B
Plaintext
28 lines
798 B
Plaintext
# CONFIG.cygwin-x86.cygwin-x86
|
|
#
|
|
# Definitions for cygwin-x86 host - cygwin-x86 target builds
|
|
# Sites may override these definitions in CONFIG_SITE.cygwin-x86.cygwin-x86
|
|
#-------------------------------------------------------
|
|
|
|
# Include common gnu compiler definitions
|
|
include $(CONFIG)/CONFIG.gnuCommon
|
|
|
|
# cygwin's gcc, g++, ar, ld, and ranlib must be in user's path
|
|
CC = gcc
|
|
CCC = g++
|
|
AR = ar -rc
|
|
LD = ld -r
|
|
RANLIB = ranlib
|
|
RES=.coff
|
|
RCCMD = windres $(INCLUDES) $< $@
|
|
|
|
# No -fPIC avoids "-fPIC ignored for target (all code is position independent)"
|
|
SHRLIB_CFLAGS =
|
|
SHRLIB_LDFLAGS = -shared -Wl,--out-implib,$(LIB_PREFIX)$*$(LIB_SUFFIX)
|
|
LOADABLE_SHRLIB_LDFLAGS = -shared -Wl,--out-implib,$(LIB_PREFIX)$*$(LIB_SUFFIX)
|
|
|
|
# Override linking with gcc library from CONFIG.gnuCommon
|
|
GNU_LDLIBS_YES =
|
|
|
|
|