mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
build: use -fno-rtti -fno-exceptions
This commit is contained in:
1 parent
1ac167fc3d
commit
5daeafbc6f
1 file changed
+2
-2
+2
-2
@@ -24,8 +24,8 @@ LDFLAGS=${LDFLAGS:-}
|
|||||||
|
|
||||||
# The "-fdata-sections -ffunction-sections -Wl,--gc-sections" produces smaller
|
# The "-fdata-sections -ffunction-sections -Wl,--gc-sections" produces smaller
|
||||||
# binaries. See commit 41fce8a8 "Strip examples of unused data and functions".
|
# binaries. See commit 41fce8a8 "Strip examples of unused data and functions".
|
||||||
CFLAGS=${CFLAGS:--O3 -fdata-sections -ffunction-sections -Wall -Wl,--gc-sections}
|
CFLAGS=${CFLAGS:--O3 -fdata-sections -ffunction-sections -Wall -Wl,--gc-sections}
|
||||||
CXXFLAGS=${CXXFLAGS:--O3 -fdata-sections -ffunction-sections -Wall -Wl,--gc-sections}
|
CXXFLAGS=${CXXFLAGS:--O3 -fdata-sections -ffunction-sections -fno-rtti -fno-exceptions -Wall -Wl,--gc-sections}
|
||||||
|
|
||||||
mkdir -p gen/bin
|
mkdir -p gen/bin
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user