RGMP build patches from Yu Qiang

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3735 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-06-23 12:32:20 +00:00
parent 6db9446bfc
commit 19a048baf0

View File

@ -50,7 +50,7 @@ LDFLAGS += -T$(RGMPLKSCPT)
LDPATHS = $(addprefix -L$(TOPDIR)/,$(dir $(LINKLIBS)))
LDLIBS = $(patsubst lib%,-l%,$(basename $(notdir $(LINKLIBS))))
LDPATHS += -L$(RGMPLIBDIR)
LDLIBS += -lrgmp -lm -ltest /usr/lib/gcc/$(shell gcc -dumpmachine)/$(shell gcc -dumpversion)/libgcc.a
LDLIBS += -lrgmp -lm -ltest $(shell gcc -print-libgcc-file-name)
all: libarch$(LIBEXT)
.PHONY: clean distclean depend