servo / rust-stb-image

Rust bindings to the awesome stb_image library
Other
70 stars 34 forks source link

Fix build in Raspberry Pi2. #74

Closed Adenilson closed 9 years ago

Adenilson commented 9 years ago

pi@raspberrypi /media/iso/stuff/deps-servo/rust-stb-image $ git diff diff --git a/makefile.cargo b/makefile.cargo index 53987d2..0759fac 100644 --- a/makefile.cargo +++ b/makefile.cargo @@ -1,7 +1,7 @@ ifeq (eabi,$(findstring eabi,$(TARGET)))

-CC := $(TARGET)-gcc -AR := $(TARGET)-ar +CC ?= $(TARGET)-gcc +AR ?= $(TARGET)-ar

else

pi@raspberrypi /media/iso/stuff/deps-servo/rust-stb-image $ cargo build --release Updating registry https://github.com/rust-lang/crates.io-index Compiling stb_image v0.1.0 (file:///media/iso/stuff/deps-servo/rust-stb-image) Compiling libc v0.1.8

metajack commented 9 years ago

@bors-servo r+

bors-servo commented 9 years ago

:pushpin: Commit 6119e8a has been approved by metajack

bors-servo commented 9 years ago

:hourglass: Testing commit 6119e8a with merge bac1aaa...

bors-servo commented 9 years ago

:sunny: Test successful - travis