mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://www.electronjs.org/
20 lines
1 KiB
C
20 lines
1 KiB
C
--- base/compiler_specific.h.orig 2024-10-16 21:30:44 UTC
|
|
+++ base/compiler_specific.h
|
|
@@ -257,7 +257,7 @@
|
|
//
|
|
// In some cases it's desirable to remove this, e.g. on hot functions, or if
|
|
// we have purposely changed the reference canary.
|
|
-#if defined(COMPILER_GCC) || defined(__clang__)
|
|
+#if (defined(COMPILER_GCC) || defined(__clang__)) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
|
|
#if HAS_ATTRIBUTE(__no_stack_protector__)
|
|
#define NO_STACK_PROTECTOR __attribute__((__no_stack_protector__))
|
|
#else
|
|
@@ -388,7 +388,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
|
|
// See https://clang.llvm.org/docs/AttributeReference.html#preserve-most for
|
|
// more details.
|
|
#if (defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \
|
|
- !(BUILDFLAG(IS_WIN) && defined(ARCH_CPU_ARM64)) && \
|
|
+ !((BUILDFLAG(IS_WIN) || BUILDFLAG(IS_OPENBSD)) && defined(ARCH_CPU_ARM64)) && \
|
|
!defined(COMPONENT_BUILD) && defined(__clang__) && \
|
|
__clang_major__ >= 17 && HAS_ATTRIBUTE(preserve_most)
|
|
#define PRESERVE_MOST __attribute__((preserve_most))
|