Skip to content

Commit

Permalink
Partial revert "Merge PR#12108 from shindere/native-cc-cflags"
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed Sep 24, 2024
1 parent 3a07233 commit 1878442
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions otherlibs/systhreads/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ $(LIBNAME).cmxa: $(THREADS_NCOBJS)
# st_stubs.n.$(O) from the same source file st_stubs.c (it is compiled
# twice, each time with different options).

st_stubs.n.$(O): OC_CPPFLAGS += $(OC_NATIVE_CPPFLAGS)

ifeq "$(COMPUTE_DEPS)" "true"
st_stubs.%.$(O): st_stubs.c
else
Expand Down Expand Up @@ -141,6 +143,7 @@ include $(addprefix $(DEPDIR)/, $(DEP_FILES))
endif

%.b.$(D): OC_CPPFLAGS = $(OC_BYTECODE_CPPFLAGS)
%.n.$(O): OC_CPPFLAGS += $(OC_NATIVE_CPPFLAGS)
%.n.$(D): OC_CPPFLAGS = $(OC_NATIVE_CPPFLAGS)

define GEN_RULE
Expand Down

0 comments on commit 1878442

Please sign in to comment.