From f74298333479429965c1dad754b0b8d8d129ce94 Mon Sep 17 00:00:00 2001
From: Thomas Chou <thomas@wytron.com.tw>
Date: Tue, 8 Apr 2008 09:29:46 +0800
Subject: [PATCH] nios2: add elf2flt to configure options for apps

Some apps such as e2fsprogs need elf2flt in ldopts to create flt
objects.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
---
 vendors/Altera/nios2nommu/config.arch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vendors/Altera/nios2nommu/config.arch b/vendors/Altera/nios2nommu/config.arch
index 2eab665..33c6e0a 100644
--- a/vendors/Altera/nios2nommu/config.arch
+++ b/vendors/Altera/nios2nommu/config.arch
@@ -47,7 +47,7 @@ include $(ROOTDIR)/vendors/config/common/config.arch
 #
 TARGETARCH    := nios2-linux-uclibc
 HOSTARCH      := $(shell sh $(ROOTDIR)/tools/config.guess)
-CONFIGURE_OPTS := --host=$(TARGETARCH) --build=$(HOSTARCH) --target=$(TARGETARCH)
+CONFIGURE_OPTS := --host=$(TARGETARCH) --build=$(HOSTARCH) --target=$(TARGETARCH) --with-ldopts="-Wl,-d -Wl,-elf2flt"
 
 ############################################################################
 #
-- 
1.5.3.3

