rebuild fbreader after libunibreak update
[oi-userland.git] / components / mail / thunderbird / patches / patch-build_autoconf_compiler-opts.m4.patch
blob4f7f1ac7fc8ee3387bf7cc20886ba16e48ac555b
1 g++: error: -pie is not supported in this configuration
2 make[4]: *** [/ws/grzemba/oi-userland/components/web/firefox/firefox-68.12.0/config/rules.mk:540: ../../../dist/bin/js] Error 1
3 make[4]: Leaving directory '/ws/grzemba/oi-userland/components/web/firefox/build/amd64/js/src/shell'
4 --- gecko-dev-master/build/autoconf/compiler-opts.m4.old 2023-06-10 13:54:09.501319246 -0400
5 +++ gecko-dev-master/build/autoconf/compiler-opts.m4 2023-06-10 13:57:28.109237589 -0400
6 @@ -147,9 +147,10 @@
8 if test "$GNU_CC$CLANG_CC"; then
9 case "${OS_TARGET}" in
10 - Darwin|WASI)
11 + Darwin|WASI|SunOS)
12 # It's the default on those targets, and clang complains about -pie
13 # being unused if passed.
14 + # On Illumos, there was an error using -pie with g++ for Firefox 68
17 MOZ_PROGRAM_LDFLAGS="$MOZ_PROGRAM_LDFLAGS -pie"