Commit graph

12 commits

Author SHA1 Message Date
trav90
2aa7dc2652 No Issue - Only explicitly enforce GCC SSE2 optimizations when building on Intel 32-bit architectures
SSE2 optimizations are used by default on 64-bit platforms. By no longer explicitly enabling SSE2 on 64-bit GCC, we can more easily enable other optimizations (e.g. AVX) without worrying about them being overridden by the SSE2 flags.
2024-04-02 22:20:46 +08:00
wolfbeast
5449e900ba Issue #1226 - Explicitly enable sse2 on x86_64 also.
Although it's enabled by default in gcc (should be, anyway!), we're
being explicit here for 64-bit x86 platforms here also. This matches the
old behavior.
2019-09-20 22:14:44 +08:00
wolfbeast
3686403436 Don't assume Intel architecture for compiler optimizations on Linux/gcc.
This only adds SSE2 flags when the CPU architecture is correct for it.
Resolves #1226
2019-09-20 22:14:42 +08:00
trav90
3f87aa1a69 Always build with SSE2 support when using GCC 2019-02-16 00:00:14 +08:00
Moonchild
170f2ade41 Revert "Always build with SSE2 support & display an error if not available" 2019-02-15 23:59:11 +08:00
trav90
10bc6c2b0d Remove extraneous SSE flag 2019-02-15 23:59:05 +08:00
trav90
1e8a7b041e Tweak SSE/SSE2 GCC flags 2019-02-15 23:59:04 +08:00
trav90
bbc27e01ae Always build with SSE2 support when using GCC 2019-02-15 23:59:02 +08:00
trav90
f02ba306ef Style fix 2019-02-15 23:48:28 +08:00
trav90
b2917cce1d Force use of level 1 Liftetime DSE optimization on modern GCC
Instead of completely disabling it.
2019-02-15 23:48:26 +08:00
wolfbeast
d37246737b Convert MOZILLA_OFFICIAL conditionals to MC_OFFICIAL where needed.
- `--enable-official-branding` implies `MC_OFFICIAL` (no need to specifically set it)
- `--enable-official-vendor` can be used to set `MC_OFFICIAL` on builds without `--enable-official-branding` that should still be considered official release versions.
- `MC_OFFICIAL` implies `--enable-release`, meaning `DEVELOPER_OPTIONS` isn't set
- `MC_OFFICIAL` makes `nsXULAppInfo.getIsOfficial` return `true`
- `MC_OFFICIAL` makes `AppConstants.MOZILLA_OFFICIAL` (for compatibility in extensions) and `AppConstants.MC_OFFICIAL` return `true`
- Optional, for the time being: `MOZILLA_OFFICIAL` is still present in some places in case someone wants to build a Mozilla-alike official application and has the rights and necessary keys to use Mozilla-official third-party services. This must always be combined with `MC_OFFICIAL` to have a sane combination of defines. This may be removed in the future.
2019-02-15 23:44:10 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00