Files
RedBear-OS/recipes/wip/dev/other/apr-util/redox.patch
T
vasilito 50b731f1b7 Red Bear OS — microkernel OS in Rust, based on Redox
Derivative of Redox OS (https://www.redox-os.org) adding:
- AMD GPU driver (amdgpu) via LinuxKPI compat layer
- ext4 filesystem support (ext4d scheme daemon)
- ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG)
- Custom branding (hostname, os-release, boot identity)

Build system is full upstream Redox with RBOS overlay in local/.
Patches for kernel, base, and relibc are symlinked from local/patches/
and protected from make clean/distclean. Custom recipes live in
local/recipes/ with symlinks into the recipes/ search path.

Build:  make all CONFIG_NAME=redbear-full
Sync:   ./local/scripts/sync-upstream.sh
2026-04-12 19:05:00 +01:00

42 lines
1.4 KiB
Diff

diff --git a/apu-config.in b/apu-config.in
index 82109e5..2d005c9 100644
--- a/apu-config.in
+++ b/apu-config.in
@@ -140,12 +140,12 @@ while test $# -gt 0; do
;;
--includes)
if test "$location" = "installed"; then
- flags="$flags -I$includedir $INCLUDES"
+ flags="$flags $INCLUDES"
elif test "$location" = "source"; then
- flags="$flags -I$APU_SOURCE_DIR/include $INCLUDES"
+ flags="$flags $INCLUDES"
else
# this is for VPATH builds
- flags="$flags -I$APU_BUILD_DIR/include -I$APU_SOURCE_DIR/include $INCLUDES"
+ flags="$flags $INCLUDES"
fi
;;
--ldflags)
@@ -162,9 +162,9 @@ while test $# -gt 0; do
--link-ld)
if test "$location" = "installed"; then
### avoid using -L if libdir is a "standard" location like /usr/lib
- flags="$flags -L$libdir -l$APRUTIL_LIBNAME"
+ flags="$flags -l$APRUTIL_LIBNAME"
else
- flags="$flags -L$APU_BUILD_DIR -l$APRUTIL_LIBNAME"
+ flags="$flags -l$APRUTIL_LIBNAME"
fi
;;
--link-libtool)
@@ -178,7 +178,7 @@ while test $# -gt 0; do
### avoid using -L if libdir is a "standard" location like /usr/lib
# Since the user is specifying they are linking with libtool, we
# *know* that -R will be recognized by libtool.
- flags="$flags -L$libdir -R$libdir -l$APRUTIL_LIBNAME"
+ flags="$flags -l$APRUTIL_LIBNAME"
else
flags="$flags $LA_FILE"
fi