Some apps such as e2fsprogs need elf2flt in ldopts to create flt
objects.
Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>
---
vendors/Altera/nios2nommu/config.arch | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vendors/Altera/nios2nommu/config.arch
b/vendors/Altera/nios2nommu/config.arch
index bbae947..3685b52 100644
--- a/vendors/Altera/nios2nommu/config.arch
+++ b/vendors/Altera/nios2nommu/config.arch
@@ -46,7 +46,7 @@ UCLINUX_BUILD_SET = 0 # have
we set a special config below
#
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"
############################################################################
#
@@ -137,7 +137,7 @@ ifdef UCLINUX_BUILD_USER
CFLAGS += -I$(ROOTDIR)
CFLAGS += -I$(ROOTDIR)/include
CFLAGS += -fno-builtin
- CFLAGS += -Dfork=vfork -D__adjtimex=adjtimex
+ CFLAGS += -D__adjtimex=adjtimex
CXXFLAGS = $(CFLAGS) $(INCCXX) -fname-mangling-version-0
--
1.5.3.3
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev