mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Move -fPIC to ARCH setting in Makefile
This commit is contained in:
parent
fe79be4a1d
commit
a78a6ecc27
@ -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) \
|
||||||
|
Loading…
Reference in New Issue
Block a user