Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
build with -fPIC on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
iliabylich committed May 10, 2022
1 parent 9681de2 commit b627b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/targets/x86_64-unknown-linux-gnu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ EXE =
STATIC_LIB_FILE = libruby_parser_cpp.$(A)
LIST_DEPS = ldd

CXXFLAGS += -std=c++17 -Wall -Wextra -g -target $(TARGET)
CXXFLAGS += -std=c++17 -Wall -Wextra -g -target $(TARGET) -fPIC

ifeq ($(BUILD_ENV), debug)
CXXFLAGS += -O0
Expand Down

0 comments on commit b627b4c

Please sign in to comment.