diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2024-05-12 16:04:45 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2024-05-12 17:29:21 -0400 |
commit | 26c99d574ff24c463e2d6e0eda9f5162660b113e (patch) | |
tree | fa668bf7641e2b7e8cbc1951ceaa6cd245c1c29c | |
parent | a6be103967cd79a3c7119ee04060c010cfeff512 (diff) |
-rw-r--r-- | libre/iceweasel/PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD index e36357611..5f4a87327 100644 --- a/libre/iceweasel/PKGBUILD +++ b/libre/iceweasel/PKGBUILD @@ -245,7 +245,7 @@ readonly _USE_ALT_COMPILER=$(case "${CARCH}" in armv7h) echo 0 ;; *) echo 0 ;; e # apparently, a measly 32GB RAM is no longer sufficient to contain this beast # the system no longer crashes now; but the build process gets killed instead # > clang-15: error: unable to execute command: Killed -readonly _USE_ALT_LINKER=$(case "${CARCH}" in i686|x86_64) echo 1 ;; *) echo 0 ;; esac) +readonly _USE_ALT_LINKER=$(case "${CARCH}" in i686|x86_64) echo 1 ;; *) echo 1 ;; esac) ## dependency tweaks ## @@ -743,6 +743,9 @@ build() { export CFLAGS="${CFLAGS/-fvar-tracking-assignments/}" export CXXFLAGS="${CXXFLAGS/-fvar-tracking-assignments/}" fi + + # ld.lld: error: version script assignment of <MANY> to symbol <MANY> failed: symbol not defined + (( _USE_ALT_LINKER )) || export LDFLAGS+=" -Wl,--undefined-version" ;; i686) # -fno-plt with cross-LTO -> LLVM ERROR: Function Import: link error |