Skip to content

Commit

Permalink
Update configure scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Jun 18, 2024
1 parent 5aee239 commit 7119b24
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion erts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ FLAVORS
PRIMARY_FLAVOR
JIT_ARCH
JIT_ENABLED
EMU_LDFLAGS
M4
LIBRT
BITS64
Expand Down Expand Up @@ -25762,6 +25763,7 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
LDFLAGS="$saved_LDFLAGS"
EMU_LDFLAGS=""
for flag in "-Wl,-z,common-page-size=2097152" "-Wl,-z,max-page-size=2097152"
do
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can add $flag to LDFLAGS" >&5
Expand All @@ -25784,7 +25786,8 @@ then :

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
LDFLAGS="$saved_LDFLAGS $flag"
EMU_LDFLAGS="$flag"
LDFLAGS="$saved_LDFLAGS"

else case e in #(
e)
Expand All @@ -25801,6 +25804,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \
fi




JIT_ENABLED=
FLAVORS="emu jit"
# Enable jit
Expand Down

0 comments on commit 7119b24

Please sign in to comment.