fixed makefile error if no ivycc
authorAndrew Waterman <waterman@ubuntu.(none)>
Mon, 21 Dec 2009 02:57:47 +0000 (18:57 -0800)
committerAndrew Waterman <waterman@ubuntu.(none)>
Mon, 21 Dec 2009 02:57:47 +0000 (18:57 -0800)
user/parlib/src/Makefrag

index 9021a1a..77b6280 100644 (file)
@@ -34,7 +34,7 @@ USER_PARLIB_PTHREAD_OBJFILES := $(patsubst $(USER_PARLIB_SRC_DIR)/%.S, \
                                 $(OBJDIR)/$(USER_PARLIB_SRC_DIR)/%.o, \
                                 $(USER_PARLIB_PTHREAD_OBJFILES))
 
-ANNOTS := $(shell dirname $(shell which ivycc))
+ANNOTS := $(dir $(shell which ivycc))
 ANNOTS := $(ANNOTS)/../lib/ivy/include/deputy/annots.h
 
 $(PATCHFILE): $(USER_PARLIB_DIR)/inc/libc_patch.h