From d1d501689a068cc98573c17bbd455201ef67ea83 Mon Sep 17 00:00:00 2001 From: Ivan Davidov Date: Mon, 25 Dec 2017 00:48:37 +0200 Subject: [PATCH] The '-Os' flag is provided by the default 'CFLAGS'. --- src/minimal_overlay/bundles/c2048/02_build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/minimal_overlay/bundles/c2048/02_build.sh b/src/minimal_overlay/bundles/c2048/02_build.sh index 17274501e..68ec5c6c0 100755 --- a/src/minimal_overlay/bundles/c2048/02_build.sh +++ b/src/minimal_overlay/bundles/c2048/02_build.sh @@ -8,7 +8,7 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME rm -f 2048 -gcc $CFLAGS -Os -o 2048 2048.c +gcc $CFLAGS -o 2048 2048.c strip -g 2048 mkdir -p $OVERLAY_ROOTFS/usr/bin @@ -17,4 +17,3 @@ cp --remove-destination $PWD/2048 $OVERLAY_ROOTFS/usr/bin/ echo "Bundle 'c2048' has been installed." cd $SRC_DIR -