Merge pull request #45 from foss-for-synopsys-dwc-arc-processors/arc_support arc: Fix build error
diff --git a/Makefile.am b/Makefile.am
index cb078ed..e9ba8cb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -182,7 +182,7 @@ if AARCH64
nodist_libffi_la_SOURCES += src/aarch64/sysv.S src/aarch64/ffi.c
endif
if ARC
-nodist_libffi_la_SOURCES += src/arc/sysv.S src/arc/ffi.c
+nodist_libffi_la_SOURCES += src/arc/arcompact.S src/arc/ffi.c
endif
if ARM
nodist_libffi_la_SOURCES += src/arm/sysv.S src/arm/ffi.c
diff --git a/Makefile.in b/Makefile.in
index 348c4d8..db84a35 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -995,7 +995,7 @@ src/arc/$(am__dirstamp):
src/arc/$(DEPDIR)/$(am__dirstamp):
@$(MKDIR_P) src/arc/$(DEPDIR)
@: > src/arc/$(DEPDIR)/$(am__dirstamp)
-src/arc/sysv.lo: src/arc/$(am__dirstamp) \
+src/arc/arcompact.lo: src/arc/$(am__dirstamp) \
src/arc/$(DEPDIR)/$(am__dirstamp)
src/arc/ffi.lo: src/arc/$(am__dirstamp) \
src/arc/$(DEPDIR)/$(am__dirstamp)