mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 08:47:28 +01:00
Add comment re previous commit (strip examples)
This commit is contained in:
1 parent
41fce8a8de
commit
ea4c85bfa2
1 file changed
+5
-2
+5
-2
@@ -23,11 +23,14 @@ if [ ! -e release/c/wuffs-unsupported-snapshot.c ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
CC=${CC:-gcc}
|
CC=${CC:-gcc}
|
||||||
CFLAGS=${CFLAGS:--O3 -fdata-sections -ffunction-sections -Wl,--gc-sections}
|
|
||||||
CXX=${CXX:-g++}
|
CXX=${CXX:-g++}
|
||||||
CXXFLAGS=${CXXFLAGS:--O3 -fdata-sections -ffunction-sections -Wl,--gc-sections}
|
|
||||||
LDFLAGS=${LDFLAGS:-}
|
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
|
mkdir -p gen/bin
|
||||||
|
|
||||||
sources=$@
|
sources=$@
|
||||||
|
|||||||
Reference in new issue
Block a user