Skip to content

Commit

Permalink
[sailfishos][embedlite] Disable unsupported --disable-elf-hack on aar…
Browse files Browse the repository at this point in the history
…ch64. JB#52012

The --disable-elf-hack option is not available on aarch64.
  • Loading branch information
mlehtima committed Nov 14, 2020
1 parent b7ff171 commit 81b6a84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion embedding/embedlite/config/mozconfig.merqtxulrunner
Expand Up @@ -46,5 +46,4 @@ ac_add_options --enable-webrtc
ac_add_options --enable-profiling
ac_add_options --disable-dbus
ac_add_options --disable-necko-wifi
ac_add_options --disable-elf-hack
ac_add_options --disable-accessibility
4 changes: 4 additions & 0 deletions rpm/xulrunner-qt5.spec
Expand Up @@ -272,6 +272,10 @@ echo "export CXXFLAGS=\"\$CXXFLAGS -DRELEASE_OR_BETA=1\"" >> "$MOZCONFIG"
echo "ac_add_options --disable-startupcache" >> "$MOZCONFIG"
%endif

%ifarch %ix86 %arm
echo "ac_add_options --disable-elf-hack" >> "$MOZCONFIG"
%endif

# Gecko tries to add the gre lib dir to LD_LIBRARY_PATH when loading plugin-container,
# but as sailfish-browser has privileged EGID, glibc removes it for security reasons.
# Set ELF RPATH through LDFLAGS. Needed for plugin-container and libxul.so
Expand Down

0 comments on commit 81b6a84

Please sign in to comment.