Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 921caaa

Browse files
committed
Enforce -fPIC for archives in evmjit
1 parent 92a8804 commit 921caaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

evmjit/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
66

77
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
88
else ()
9-
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wno-unknown-pragmas -Wextra")
9+
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wno-unknown-pragmas -Wextra -fPIC")
1010
endif()
1111

1212
if(APPLE)

0 commit comments

Comments
 (0)