summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-30 12:49:24 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-30 12:49:24 +0000
commit226c8f246cfc548246c021393aab56b0a8be7968 (patch)
tree2ec51ee82c3821626fc1d5f93280040dd6b705ef /nuttx/arch/avr/src/Makefile
parentd84fc46d2ccf24899de6c26c866900a6a0a1de78 (diff)
downloadpx4-nuttx-226c8f246cfc548246c021393aab56b0a8be7968.tar.gz
px4-nuttx-226c8f246cfc548246c021393aab56b0a8be7968.tar.bz2
px4-nuttx-226c8f246cfc548246c021393aab56b0a8be7968.zip
Fix issue with multilib build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3926 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/Makefile')
-rw-r--r--nuttx/arch/avr/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/avr/src/Makefile b/nuttx/arch/avr/src/Makefile
index 7683bcfdd..fa66d6dfa 100644
--- a/nuttx/arch/avr/src/Makefile
+++ b/nuttx/arch/avr/src/Makefile
@@ -90,7 +90,7 @@ LDLIBS = $(patsubst lib%,-l%,$(basename $(notdir $(LINKLIBS))))
BOARDDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src/board
-LIBGCC = "${shell $(CC) -print-libgcc-file-name}"
+LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name}"
VPATH = chip:common:$(ARCH_SUBDIR)