diff options
Diffstat (limited to 'core/src/luajit/makefile')
| -rw-r--r-- | core/src/luajit/makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/luajit/makefile b/core/src/luajit/makefile index 0bfbaa0ff..e0bc287ea 100644 --- a/core/src/luajit/makefile +++ b/core/src/luajit/makefile @@ -128,8 +128,8 @@ endif # fix call math.sin/log crash for fedora/i386/lj_vm.S with `LDFLAGS = -specs=/usr/lib/rpm/redhat/redhat-hardened-ld` in xmake.spec/%set_build_flags ifeq ($(BUILD_ARCH),i386) -luajit_ASFLAGS += -fPIC -luajit_CXFLAGS += -fPIC +luajit_ASFLAGS += -fPIE +luajit_CXFLAGS += -fPIE endif # suffix |
