summaryrefslogtreecommitdiff
path: root/nuttx/arch/rgmp
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-23 12:32:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-23 12:32:20 +0000
commitc58bb377193ed015d976cdd281158f9260fb6934 (patch)
treef723342b9e79487ceb8a9bce82dc81b4c4bfe91f /nuttx/arch/rgmp
parent3fe8e9c7ef441e2a92e39e9521e690d15af2c75a (diff)
downloadpx4-nuttx-c58bb377193ed015d976cdd281158f9260fb6934.tar.gz
px4-nuttx-c58bb377193ed015d976cdd281158f9260fb6934.tar.bz2
px4-nuttx-c58bb377193ed015d976cdd281158f9260fb6934.zip
RGMP build patches from Yu Qiang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3735 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/rgmp')
-rw-r--r--nuttx/arch/rgmp/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/rgmp/src/Makefile b/nuttx/arch/rgmp/src/Makefile
index f8c2a0b12..c881e2d6d 100644
--- a/nuttx/arch/rgmp/src/Makefile
+++ b/nuttx/arch/rgmp/src/Makefile
@@ -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