mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
26 lines
801 B
Diff
26 lines
801 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Brian Gianforcaro <b.gianfo@gmail.com>
|
|
Date: Tue, 21 Dec 2021 23:48:09 -0800
|
|
Subject: [PATCH] Add SerenityOS support to configure
|
|
|
|
This patch implements targetos detection for serenity, and also
|
|
disables shared memory support automatically for serenity, as it's not
|
|
currently supported.
|
|
---
|
|
configure | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/configure b/configure
|
|
index 84ccce0..04bac14 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -323,6 +323,9 @@ elif check_define __NetBSD__ ; then
|
|
elif check_define __sun__ ; then
|
|
targetos='SunOS'
|
|
CFLAGS="$CFLAGS -D_REENTRANT"
|
|
+elif check_define __serenity__ ; then
|
|
+ targetos='SerenityOS'
|
|
+ no_shm="yes"
|
|
elif check_define _WIN32 ; then
|
|
targetos='CYGWIN'
|
|
else
|