diff options
Diffstat (limited to 'Make.defaults')
-rwxr-xr-x | Make.defaults | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Make.defaults b/Make.defaults index a504f42..23e54c9 100755 --- a/Make.defaults +++ b/Make.defaults @@ -166,10 +166,10 @@ endif INCDIR += -I$(SRCDIR) -I$(TOPDIR)/inc -I$(TOPDIR)/inc/$(ARCH) \ -I$(TOPDIR)/inc/protocol -# Only enable -fpic for non MinGW compilers (unneeded on MinGW) +# Only enable -fPIE for non MinGW compilers (unneeded on MinGW) GCCMACHINE := $(shell $(CC) -dumpmachine) ifneq (mingw32,$(findstring mingw32, $(GCCMACHINE))) - CFLAGS += -fpic + CFLAGS += -fPIE endif ifeq (FreeBSD, $(findstring FreeBSD, $(OS))) |