Fix bfd Makefile

git-svn-id: svn://kolibrios.org@8351 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack 2020-12-09 07:54:21 +00:00
parent 294679216a
commit e10f5ff7d9

View File

@ -1,3 +1,7 @@
CC = kos32-gcc
LD = kos32-ld
SDK_DIR = ../../../sdk
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields
@ -15,7 +19,8 @@ SRCS = \
archive.c archures.c bfd.c bfdio.c \
binary.c cache.c coff-bfd.c coffgen.c cofflink.c \
compress.c corefile.c cpu-i386.c \
dwarf1.c dwarf2.c elf.c elf32.c \
# dwarf1.c dwarf2.c elf.c elf32.c \
dwarf1.c elf.c elf32.c \
elf32-gen.c elf32-i386.c elf-attrs.c \
elf-eh-frame.c elf-ifunc.c elflink.c \
elf-nacl.c elf-strtab.c elf-vxworks.c \
@ -32,7 +37,7 @@ OBJS = $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS)))
all: libbfd.a
libbfd.a : $(OBJS) MAkefile
libbfd.a : $(OBJS) Makefile
$(AR) crs libbfd.a $(OBJS)
mv -f libbfd.a $(SDK_DIR)/lib