need to include some typical headers to get it to issue a failure
diagnostic
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I37d6e0f342698507952a8006b88d56e55060270e
can be disabled with --disable-hardening-flags, defaults on except
for wasm and sanitizer cases
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Id3ccb7492b73dfa6c7bbd5dd0419927032fc9bdf
- instead of using /dev/[u]random devices, use
getentropy() to make direct system calls
if the system is a BSD.
- if getentropy() fails, we need to fall back to
"/dev/[u]random" approach.
Signed-off-by: Bayram Çiçek <bayram.cicek@libreoffice.org>
Change-Id: Id6a2629c06d641eb4e7cf3991de4036d2f7b346e
Execute the 'prettier' command to check format code style.
Change-Id: I93e4a57e03d26627caa3b2c52ae44669a8723267
Signed-off-by: Henry Castro <hcastro@collabora.com>
Avoids inadvertent non-optimization having an impact.
Change-Id: Ic548769e98f00d455f67ccd32d493f02b204a70f
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Should be fully supported on compilers now.
Except leave this workaround in place for now:
b30757417b
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I6e19ec034b3c64e66f5bf5ff1f436f94514fabd0
This is in line with MOBILEAPP and GTKAPP and
is independent of __EMSCRIPTEN__.
Replace all application-specific cases, leaving
only toolchain-specific ones (such as include
protection).
Change-Id: Ic44288aa5ace51e0a8b54566170c19120f7bf0dd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
We now have at least one C TU and enabling rtti for
the sanitized build breaks things. So we don't enable
rtti for C sources, which was done in error.
Change-Id: If7624993ceb9e7af7aa8ffe3df69069ea4dd153a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
Split it out as a C file, to avoid accidental C++ header inclusion,
and C is a cross-platform assembler anyway so a good match.
Change-Id: I6c042781713aecaf143b9663af8377659a7deaf1
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
- regression from ec17f72fb5
- also removed the restriction to have "static" in unlock_image
url
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ie4f1170fb6a12db5218fb28f21d78f88ebc61d56
- Previously giving --with-lo-path as a relative path caused collabora
online to crash with "component context fails to supply singleton"
errors
- This patch uses readlink on the with-lo-path option, expanding it into
its full canonical path
- I could probably have gotten away with realpath, but for consistency
with --with-lokit-path I decided to use readlink -f
Change-Id: I16aacddbda9749451578fb7aded6c3c4e145ee26
Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Omitting this space leads to the error "test: too many arguments"
Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: Id8a83d77adfb484dcc949a10b4b25f6ad81130f8
rational: building for release takes a lot of time and we
neither package, nor run (most of) these unit tests when
we make packages.
CI runs all of these tests before merging PRs, so risk is low,
if we do not run the few build-time unit tests when we package.
make -j12
--enable-tests (default): 3m 18s
--disable-test: 1m 9s
3x faster...
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4edd98af55748432e30c65c4c910e72c0221272a