From b1c15c17682047601a4a450e5d1e6f4f75fcca07 Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Tue, 10 Jul 2018 08:44:00 -0500 Subject: [PATCH] Fixed script issue with bash expansion inside makefile parameter This was causing code sizes to be reported with several of the logging functions still built in. A useful number, but not the minimum achievable code size. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5c0988b..e359ecc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ script: # compile and find the code size with the smallest configuration - make clean size OBJ="$(ls lfs*.o | tr '\n' ' ')" - CFLAGS+="-DLFS_NO{ASSERT,DEBUG,WARN,ERROR}" + CFLAGS+="-DLFS_NO_ASSERT -DLFS_NO_DEBUG -DLFS_NO_WARN -DLFS_NO_ERROR" | tee sizes # update status if we succeeded, compare with master if possible