Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149490265
D47258.1790253057.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
607 B
Referenced Files
None
Subscribers
None
D47258.1790253057.diff
View Options
diff --git a/Mk/Uses/sbrk.mk b/Mk/Uses/sbrk.mk
new file mode 100644
--- /dev/null
+++ b/Mk/Uses/sbrk.mk
@@ -0,0 +1,21 @@
+# handle ports requring sbrk
+#
+# Feature: sbrk
+# Usage: USES=sbrk
+# Valid ARGS: <none>
+#
+# Software requiring the sbrk pseudo-syscall is broken on aarch64 and
+# riscv64. Mark it as such.
+#
+# MAINTAINER: brooks@FreeBSD.org
+
+.if !defined(_INCLUDE_USES_SBRK_MK)
+_INCLUDE_USES_SBRK_MK= yes
+
+. if empty(sbrk_ARGS)
+BROKEN_aarch64= requires sbrk
+BROKEN_riscv64= requires sbrk
+. else
+IGNORE= Incorrect 'USES+=sbrk:${sbrk_ARGS}'. No arguments permitted
+. endif
+.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 24, 12:30 PM (15 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29899919
Default Alt Text
D47258.1790253057.diff (607 B)
Attached To
Mode
D47258: Mk/Uses/sbrk.mk: centralize sbrk handling
Attached
Detach File
Event Timeline
Log In to Comment