Add comment re previous commit (strip examples)

This commit is contained in:
Nigel Tao committed 2021-10-04 23:37:37 +11:00
1 parent 41fce8a8de
commit ea4c85bfa2
1 file changed
+5 -2
+5 -2
View File
@@ -23,11 +23,14 @@ if [ ! -e release/c/wuffs-unsupported-snapshot.c ]; then
fi
CC=${CC:-gcc}
CFLAGS=${CFLAGS:--O3 -fdata-sections -ffunction-sections -Wl,--gc-sections}
CXX=${CXX:-g++}
CXXFLAGS=${CXXFLAGS:--O3 -fdata-sections -ffunction-sections -Wl,--gc-sections}
LDFLAGS=${LDFLAGS:-}
# The "-fdata-sections -ffunction-sections -Wl,--gc-sections" produces smaller
# binaries. See commit 41fce8a8 "Strip examples of unused data and functions".
CFLAGS=${CFLAGS:--O3 -fdata-sections -ffunction-sections -Wl,--gc-sections}
CXXFLAGS=${CXXFLAGS:--O3 -fdata-sections -ffunction-sections -Wl,--gc-sections}
mkdir -p gen/bin
sources=$@