summaryrefslogtreecommitdiff
path: root/Makefile.direct
diff options
context:
space:
mode:
authorAlaskan Emily <emily@alaskanemily.net>2019-03-14 21:07:13 -0700
committerIvan Maidanski <ivmai@mail.ru>2019-03-20 10:29:45 +0300
commitc49324c35eac51f730654a6094ebc138eb1f2724 (patch)
tree3ef68e22a574f0c346398b4697ede9a3dc394f78 /Makefile.direct
parent890ef3f198f79ad9931b4f9e03aee2b212ab57b7 (diff)
downloadbdwgc-c49324c35eac51f730654a6094ebc138eb1f2724.tar.gz
Fix compiling by Makefile.direct on OpenBSD/UltraSparc
Issue #269 (bdwgc). * Makefile.direct (mach_dep.o): Remove sparc_sunos4_mach_dep.s dependency. * Makefile.direct [SPARC OPENBSD] (mach_dep.o): Use $CC instead of $AS; compile sparc_mach_dep.S instead of sparc_sunos4_mach_dep.s.
Diffstat (limited to 'Makefile.direct')
-rw-r--r--Makefile.direct3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.direct b/Makefile.direct
index 94064c11..86ddba09 100644
--- a/Makefile.direct
+++ b/Makefile.direct
@@ -289,12 +289,11 @@ dyn_test:
# touch liblinuxgc.so
mach_dep.o: $(srcdir)/mach_dep.c $(srcdir)/sparc_mach_dep.S \
- $(srcdir)/sparc_sunos4_mach_dep.s \
$(srcdir)/ia64_save_regs_in_stack.s \
$(srcdir)/sparc_netbsd_mach_dep.s $(UTILS)
rm -f mach_dep.o
./if_mach SPARC SOLARIS $(CC) -c -o mach_dep2.o $(srcdir)/sparc_mach_dep.S
- ./if_mach SPARC OPENBSD $(AS) -o mach_dep2.o $(srcdir)/sparc_sunos4_mach_dep.s
+ ./if_mach SPARC OPENBSD $(CC) -c -o mach_dep2.o $(srcdir)/sparc_mach_dep.S
./if_mach SPARC NETBSD $(AS) -o mach_dep2.o $(srcdir)/sparc_netbsd_mach_dep.s
./if_mach SPARC "" $(CC) -c -o mach_dep1.o $(SPECIALCFLAGS) $(srcdir)/mach_dep.c
./if_mach SPARC "" $(LD) -r -o mach_dep.o mach_dep1.o mach_dep2.o