summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/nxflat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/buildroot/toolchain/nxflat/Makefile')
-rw-r--r--misc/buildroot/toolchain/nxflat/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/buildroot/toolchain/nxflat/Makefile b/misc/buildroot/toolchain/nxflat/Makefile
index d60e540eb..416cd1a48 100644
--- a/misc/buildroot/toolchain/nxflat/Makefile
+++ b/misc/buildroot/toolchain/nxflat/Makefile
@@ -34,8 +34,8 @@
############################################################################
CFLAGS += -Wall -I. -I$(BINUTILS_DIR)/bfd
-LDFLAGS += -L$(BINUTILS_DIR)/bfd # -L$(BINUTILS_DIR)/libiberty
-LIBS = -lbfd -liberty -lz
+LDFLAGS += -L$(BINUTILS_DIR)/bfd -L$(BINUTILS_DIR)/libiberty
+LIBS = -lbfd -lc -liberty -lz
LDNXFLAT_OBJS = ldnxflat.o
MKNXFLAT_OBJS = mknxflat.o