Revert "Windows doesn't like -fPIC"

This reverts commit 6dab0a2370.
This commit is contained in:
Ștefan Talpalaru 2020-02-11 00:48:31 +01:00
parent 6dab0a2370
commit ff979cf5a6
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ endif
ECHO_AND_RUN = echo -e "\n$(CMD)\n"; $(CMD) $(MACOS_DEBUG_SYMBOLS) && ./build/$@
LIBDIR := install/usr/lib
INCLUDEDIR := install/usr/include
CFLAGS += -g -O3 -std=gnu99 -pipe -Wall -Wextra
CXXFLAGS += -g -O3 -std=gnu++11 -pipe -Wall -Wextra
CFLAGS += -g -O3 -std=gnu99 -pipe -Wall -Wextra -fPIC
CXXFLAGS += -g -O3 -std=gnu++11 -pipe -Wall -Wextra -fPIC
CPPFLAGS := -I"$(CURDIR)/$(INCLUDEDIR)"
LDLIBS := -L"$(CURDIR)/$(LIBDIR)"
CURL := curl -L -s -S