remove -fPIC with CYGWIN

remove "warning: -fPIC ignored for target (all code is position independent)"

fixes #217
This commit is contained in:
Thomas Bernard 2016-11-11 12:31:25 +01:00
parent 71ce1d6dfa
commit 6c3e21352e
1 changed files with 2 additions and 0 deletions

View File

@ -87,7 +87,9 @@ LIBOBJS = miniwget.o minixml.o igd_desc_parse.o minisoap.o \
connecthostport.o portlistingparse.o receivedata.o upnpdev.o connecthostport.o portlistingparse.o receivedata.o upnpdev.o
ifneq ($(OS), AmigaOS) ifneq ($(OS), AmigaOS)
ifeq (,$(findstring CYGWIN,$(OS)))
CFLAGS := -fPIC $(CFLAGS) CFLAGS := -fPIC $(CFLAGS)
endif
LIBOBJS := $(LIBOBJS) minissdpc.o LIBOBJS := $(LIBOBJS) minissdpc.o
endif endif