remove -fPIC with CYGWIN
remove "warning: -fPIC ignored for target (all code is position independent)" fixes #217
This commit is contained in:
parent
71ce1d6dfa
commit
6c3e21352e
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue