From: Ivan Maidanski Date: Thu, 13 Jul 2017 20:27:15 +0000 (+0300) Subject: Fix atomic_ops build in Makefile.direct for Solaris X-Git-Tag: v7.6.2~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=909db03bb28fd69e6a2c405cfb8afb5a6e59db5c;p=gc Fix atomic_ops build in Makefile.direct for Solaris * Makefile.direct (atomic_ops.o, atomic_ops_sysdeps.o): Expand "$<" macro manually; add comment. --- diff --git a/Makefile.direct b/Makefile.direct index c40570e7..8a03265c 100644 --- a/Makefile.direct +++ b/Makefile.direct @@ -182,10 +182,11 @@ SPECIALCFLAGS= -I$(srcdir)/include -I$(AO_SRC_DIR)/src all: base_lib gctest atomic_ops.o: $(AO_SRC_DIR)/src/atomic_ops.c - $(CC) $(CFLAGS) -c -o $@ $< + $(CC) $(CFLAGS) -c -o $@ $(AO_SRC_DIR)/src/atomic_ops.c +# For some reason, Solaris make does not handle "$<" properly. atomic_ops_sysdeps.o: $(AO_SRC_DIR)/src/atomic_ops_sysdeps.S - $(CC) $(CFLAGS) -c -o $@ $< + $(CC) $(CFLAGS) -c -o $@ $(AO_SRC_DIR)/src/atomic_ops_sysdeps.S LEAKFLAGS= $(CFLAGS) -DFIND_LEAK