Skip to content

Commit

Permalink
Make main_main.c trigger rebuilds even under multiarch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmot committed Nov 17, 2018
1 parent 8702879 commit fa4c910
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile-gcc
Expand Up @@ -69,12 +69,12 @@ pub/libvex_guest_offsets.h: $(PUB_HEADERS) auxprogs/genoffsets.c
%.o: %.c $(ALL_HEADERS)
$(CC) -c -o $@ $(CFLAGS) $<

$(STATIC_LIBRARY_FILE): $(LIB_OBJS)
$(STATIC_LIBRARY_FILE): $(LIB_OBJS) priv/main_main.c
$(RM) $@
$(AR) -crs $@ $^
$(AR) -crs $@ $(LIB_OBJS)

$(DYNAMIC_LIBRARY_FILE): $(LIB_OBJS)
$(CC) -o $@ -shared $(CFLAGS) $^
$(DYNAMIC_LIBRARY_FILE): $(LIB_OBJS) priv/main_main.c
$(CC) -o $@ -shared $(CFLAGS) $(LIB_OBJS)



Expand Down

0 comments on commit fa4c910

Please sign in to comment.