From 15b9e7ecb90314f67ff8dcc6ec5a3173697934aa Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 10 Oct 2016 23:52:29 +0800 Subject: [PATCH] cstool: make it compile with GCC on Linux --- cstool/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cstool/Makefile b/cstool/Makefile index 7f5db132..d33736ae 100644 --- a/cstool/Makefile +++ b/cstool/Makefile @@ -12,9 +12,9 @@ LDFLAGS = -O3 -Wall -L.. -l$(LIBNAME) cstool: cstool.o ifeq ($(V),0) $(call log,LINK,$@) - @${CC} $(LDFLAGS) $< -o $@ + @${CC} $< $(LDFLAGS) -o $@ else - ${CC} $(LDFLAGS) $< -o $@ + ${CC} $< $(LDFLAGS) -o $@ endif clean: