Move -fPIC to ARCH setting in Makefile

This commit is contained in:
fincs 2017-09-20 19:53:21 +02:00
parent fe79be4a1d
commit a78a6ecc27

View File

@ -32,9 +32,9 @@ INCLUDES := include
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
# options for code generation # options for code generation
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
ARCH := -march=armv8-a ARCH := -march=armv8-a -fPIC
CFLAGS := -g -Wall -Werror -fPIC \ CFLAGS := -g -Wall -Werror \
-ffunction-sections \ -ffunction-sections \
-fdata-sections \ -fdata-sections \
$(ARCH) \ $(ARCH) \