diff --git a/syscall/Makefile b/syscall/Makefile index 7965907a6f..47efbae007 100644 --- a/syscall/Makefile +++ b/syscall/Makefile @@ -44,7 +44,7 @@ PROXY_OBJS = $(PROXY_SRCS:.c=$(OBJEXT)) STUB_OBJS = $(STUB_SRCS:.c=$(OBJEXT)) WRAP_OBJS = $(WRAP_SRCS:.c=$(OBJEXT)) -CSRCS = $(PROXY_SRCS) $(STUB_SRCS) $(WRAP_SRCS) +CSRCS = $(sort $(PROXY_SRCS) $(STUB_SRCS) $(WRAP_SRCS)) COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS)