Merge branch 'macos_fixes' into 'master'

Make relibc buildable on macOS (not for macOS)

See merge request redox-os/relibc!179
This commit is contained in:
Jeremy Soller
2018-11-17 23:47:52 +00:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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=\
+1 -1
View File
@@ -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