The '-Os' flag is provided by the default 'CFLAGS'.
This commit is contained in:
parent
22863ca3f0
commit
d1d501689a
@ -8,7 +8,7 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
|
|||||||
|
|
||||||
rm -f 2048
|
rm -f 2048
|
||||||
|
|
||||||
gcc $CFLAGS -Os -o 2048 2048.c
|
gcc $CFLAGS -o 2048 2048.c
|
||||||
strip -g 2048
|
strip -g 2048
|
||||||
|
|
||||||
mkdir -p $OVERLAY_ROOTFS/usr/bin
|
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."
|
echo "Bundle 'c2048' has been installed."
|
||||||
|
|
||||||
cd $SRC_DIR
|
cd $SRC_DIR
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user