Skip to content

Commit

Permalink
tests/hello: Makefile: -fno-PIE can remove R_X86_64_REX_GOTPCRELX
Browse files Browse the repository at this point in the history
Link: #7
Signed-off-by: Rong Tao <rongtao@cestc.cn>
  • Loading branch information
Rtoax committed Apr 16, 2024
1 parent 97999c0 commit 15ff7d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/hello/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ CFLAGS_ULP :=
CFLAGS_ULP += -O0
ifdef ULP_PIC
CFLAGS_ULP += -fpic
CFLAGS_ULP += -fno-PIE
endif

LDFLAGS_ULP :=
Expand Down

0 comments on commit 15ff7d4

Please sign in to comment.