File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,17 @@ ifneq ($(shell uname),Darwin)
4
4
EXTRAFLAGS := -lm -lrt -ldl -lpthread
5
5
endif
6
6
7
+ # FIXME
8
+ ifneq ($(shell uname) ,FreeBSD)
7
9
all :
8
10
$(RUSTC ) foo.rs -C gen-crate-map
9
11
ln -s $(call STATICLIB,foo-* ) $(call STATICLIB,foo)
10
12
$(CC ) bar.c -lfoo -o $(call RUN,bar) $(EXTRAFLAGS ) -lstdc++
11
13
$(call RUN,bar)
12
14
rm $(call STATICLIB,foo* )
13
15
$(call RUN,bar)
16
+
17
+ else
18
+ all :
19
+
20
+ endif
Original file line number Diff line number Diff line change 1
1
-include ../tools.mk
2
2
3
+ # FIXME
4
+ ifneq ($(shell uname) ,FreeBSD)
3
5
all :
4
6
$(RUSTC ) --dep-info $(TMPDIR ) /custom-deps-file.d --crate-type=lib lib.rs
5
7
sleep 1
10
12
pwd
11
13
$(MAKE ) -drf Makefile.foo
12
14
rm $(TMPDIR ) /done && exit 1 || exit 0
15
+ else
16
+ all :
17
+
18
+ endif
You can’t perform that action at this time.
0 commit comments