Skip to content
Snippets Groups Projects
Commit 4c917343 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'macos_fixes' into 'master'

Make relibc buildable on macOS (not for macOS)

See merge request redox-os/relibc!179
parents 1c92751a 484a05e8
No related branches found
No related tags found
No related merge requests found
......@@ -10,11 +10,11 @@ ifneq ($(TARGET),)
endif
ifeq ($(TARGET),aarch64-unknown-linux-gnu)
CC?=aarch64-linux-gnu-gcc
export CC=aarch64-linux-gnu-gcc
endif
ifeq ($(TARGET),x86_64-unknown-redox)
CC?=x86_64-unknown-redox-gcc
export CC=x86_64-unknown-redox-gcc
endif
SRC=\
......
......@@ -11,7 +11,7 @@ do
name="$(basename "$dir")"
if [ "${name:0:1}" != "_" ]
then
header="$include/${name/_/\/}.h"
header="$include/${name/_//}.h"
pushd "$dir"
cargo run --release --manifest-path "$cbindgen/Cargo.toml" -- \
-c cbindgen.toml -o "$header" mod.rs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment