mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-21 21:32:40 +02:00
use -fPIC for both compiling and linking
This commit is contained in:
parent
03e3d1ea7f
commit
aaa50ddafc
@ -27,9 +27,9 @@ EXEFS_SRC := exefs_src
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# options for code generation
|
# options for code generation
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
ARCH := -march=armv8-a
|
ARCH := -march=armv8-a -fPIC
|
||||||
|
|
||||||
CFLAGS := -g -Wall -O2 -fPIC \
|
CFLAGS := -g -Wall -O2 \
|
||||||
-ffast-math \
|
-ffast-math \
|
||||||
$(ARCH) $(DEFINES)
|
$(ARCH) $(DEFINES)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user