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

Commit b627b4c

Browse files
committed
build with -fPIC on linux
1 parent 9681de2 commit b627b4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/targets/x86_64-unknown-linux-gnu.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ EXE =
77
STATIC_LIB_FILE = libruby_parser_cpp.$(A)
88
LIST_DEPS = ldd
99

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

1212
ifeq ($(BUILD_ENV), debug)
1313
CXXFLAGS += -O0

0 commit comments

Comments
 (0)