Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 08d0d3f

Browse files
committed
Build without debugging information.
1 parent aeccbb5 commit 08d0d3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ENV AR=$TOOLCHAIN/bin/$TOOLCHAIN_TRIPLE-ar \
4242
RANLIB=$TOOLCHAIN/bin/$TOOLCHAIN_TRIPLE-ranlib \
4343
STRIP=$TOOLCHAIN/bin/$TOOLCHAIN_TRIPLE-strip \
4444
READELF=$TOOLCHAIN/bin/$TOOLCHAIN_TRIPLE-readelf \
45-
CFLAGS="-fPIC -Wall -O0 -g"
45+
CFLAGS="-fPIC -Wall -Os" LDFLAGS="-Wl,-S"
4646

4747
# We build sqlite using a tarball from Ubuntu. We need to patch config.sub & config.guess so
4848
# autoconf can accept our weird TOOLCHAIN_TRIPLE value. It requires tcl8.6-dev and build-essential

0 commit comments

Comments
 (0)