gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / web / firefox / patches / patch-build_autoconf_compiler-opts.m4.patch
blob8f0a3abbc002cee33579aaad7b80cf6994f0591d
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-16a5f0e868a01d3f3a4a7364206bef2a64e80735/build/moz.configure/flags.configure.old 2024-06-30 12:42:44.175625854 -0400
5 +++ gecko-dev-16a5f0e868a01d3f3a4a7364206bef2a64e80735/build/moz.configure/flags.configure 2024-06-30 12:43:46.927628117 -0400
6 @@ -509,9 +509,10 @@
8 # MOZ_PROGRAM_LDFLAGS
9 # ---------------------------------
10 +# On Illumos, there was an error using -pie with g++ for Firefox 68
11 @depends(building_with_gnu_compatible_cc, target)
12 def moz_program_ldflags(building_with_gnu_compatible_cc, target):
13 - if building_with_gnu_compatible_cc and target.kernel not in ("Darwin", "WASI"):
14 + if building_with_gnu_compatible_cc and target.kernel not in ("Darwin", "WASI", "SunOS"):
15 return ["-pie"]