commit ee9df1cd4bec31d840cb07a7ee2b5c7a66eee445
parent ff57c2c6b71c83c14eef295c16514e89ca0a8fa6
Author: Christopher Meng <cickumqt@gmail.com>
Date: Fri, 27 Sep 2013 16:09:54 +0800
Update Makefile
Add OPTFLAGS as we RPM wants to build with %{optflags}.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -26,7 +26,7 @@ include Sourcedeps
$(OBJ): Makefile
.c.o:
- $(CC) $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS) $(OPTFLAGS) -c -o $@ $<
$(NAME): $(OBJ)
$(CC) -o $@ $(OBJ) $(LDFLAGS) $(LIBS)