Skip to content

Commit

Permalink
Disable PIC on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jul 17, 2024
1 parent 3561a7f commit d8732c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG WEBKIT_RELEASE_TYPE=Release
ARG CPU=native
ARG LTO_FLAG="-flto='full'"
ARG LLVM_VERSION="16"
ARG DEFAULT_CFLAGS="-mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -ffunction-sections -fdata-sections -faddrsig -fno-asynchronous-unwind-tables -g1 -DU_STATIC_IMPLEMENTATION=1 "
ARG DEFAULT_CFLAGS="-mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -ffunction-sections -fdata-sections -faddrsig -fno-asynchronous-unwind-tables -DU_STATIC_IMPLEMENTATION=1 "
ARG DEBIAN_VERSION="bullseye"

FROM bitnami/minideb:${DEBIAN_VERSION} as base
Expand Down
6 changes: 1 addition & 5 deletions Source/cmake/OptionsJSCOnly.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ if (USE_BUN_JSC_ADDITIONS)

if (WIN32)
SET_AND_EXPOSE_TO_BUILD(JS_NO_EXPORT 1)
elseif (APPLE)
else ()
set(CMAKE_POSITION_INDEPENDENT_CODE False)
endif()

endif ()
Expand Down Expand Up @@ -74,9 +71,8 @@ if (ENABLE_REMOTE_INSPECTOR)
set(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS ON)
SET_AND_EXPOSE_TO_BUILD(USE_INSPECTOR_SOCKET_SERVER 1)
SET_AND_EXPOSE_TO_BUILD(USE_UNIX_DOMAIN_SOCKETS 1)
else (
else ()
set(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS OFF)
)
endif ()
WEBKIT_OPTION_END()

Expand Down

0 comments on commit d8732c1

Please sign in to comment.