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:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user