commit 16520c7cb6fcc608176f1f337bfb7ffa6e8c15e4
parent 9a5cac608776a5424ad0f8487e7de1223085ef1a
Author: rminnich@gmail.com <none@none>
Date: Wed, 19 Jan 2011 22:49:22 -0800
add freebsd. This should work. It's not tested.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/9vx/Makefrag b/src/9vx/Makefrag
@@ -100,10 +100,16 @@ ifeq ($(OS),darwin)
PLAN9_OBJS := $(PLAN9_OBJS) 9vx/osx/signal.o 9vx/osx/cmpswap.o
endif
+# While we could do an || here on the os, leave this: linux
+# or freebsd may later differ in what they do.
ifeq ($(OS),linux)
PLAN9_OBJS := $(PLAN9_OBJS) 9vx/gccmagic/cmpswap.o
endif
+ifeq ($(OS),freebsd)
+PLAN9_OBJS := $(PLAN9_OBJS) 9vx/gccmagic/cmpswap.o
+endif
+
PLAN9_A_OBJS = \
$(addprefix 9vx/a/, \
allocb.o \