aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-third__party_boringssl_src_crypto_perlasm_x86__64-xlate.pl
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-third__party_boringssl_src_crypto_perlasm_x86__64-xlate.pl')
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_boringssl_src_crypto_perlasm_x86__64-xlate.pl24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/ungoogled-chromium/files/patch-third__party_boringssl_src_crypto_perlasm_x86__64-xlate.pl b/www/ungoogled-chromium/files/patch-third__party_boringssl_src_crypto_perlasm_x86__64-xlate.pl
new file mode 100644
index 000000000000..15d19e0dccfc
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-third__party_boringssl_src_crypto_perlasm_x86__64-xlate.pl
@@ -0,0 +1,24 @@
+--- third_party/boringssl/src/crypto/perlasm/x86_64-xlate.pl.orig 2023-07-21 09:49:17 UTC
++++ third_party/boringssl/src/crypto/perlasm/x86_64-xlate.pl
+@@ -1510,6 +1510,21 @@ OPTION DOTNAME
+ ___
+ }
+
++if ($nasm) {
++ print <<___;
++\%define _CET_ENDBR
++___
++} else {
++ print <<___;
++#if defined(__CET__)
++#include <cet.h>
++#else
++#define _CET_ENDBR
++#endif
++
++___
++}
++
+ if ($gas) {
+ my $target;
+ if ($elf) {