Skip to content

Commit

Permalink
Allow to avoid '.S file not supported by cosmocc' error in Makefile.d…
Browse files Browse the repository at this point in the history
…irect

Issue #666 (bdwgc).

* Makefile.direct (NODIST_OBJS): Move addition of atomic_ops_sysdeps.o
item to a separate line (to be easily commented out by client if
needed); add comment.
  • Loading branch information
ivmai committed Oct 9, 2024
1 parent 9cb2a11 commit 0ce6305
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile.direct
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ OBJS= allchblk.o alloc.o backgraph.o blacklst.o checksums.o \
pthread_support.o ptr_chck.o reclaim.o specific.o thread_local_alloc.o \
typd_mlc.o win32_threads.o

NODIST_OBJS= atomic_ops.o atomic_ops_sysdeps.o
NODIST_OBJS= atomic_ops.o

# Note: comment out the following line if compiler does not support .S files.
NODIST_OBJS+= atomic_ops_sysdeps.o

# Almost matches OBJS but also includes dyn_load.c.
CSRCS= allchblk.c alloc.c backgraph.c blacklst.c checksums.c \
Expand Down

0 comments on commit 0ce6305

Please sign in to comment.