Skip to content

Commit 7ae6fa5

Browse files
committed
Freeing up an additional register by omitting keeping the frame pointer for functions that don't need one.
Signed-off-by: DL6ER <[email protected]>
1 parent 2c13080 commit 7ae6fa5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ftl-build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ RUN curl -sSL https://ftl.pi-hole.net/libraries/mbedtls-${mbedtlsversion}.tar.bz
8585
&& echo "BUILDING WITHOUT AESNI SUPPORT" \
8686
&& sed -i '/#define MBEDTLS_AESNI_C/s*^*//*g' include/mbedtls/mbedtls_config.h \
8787
|| echo "BUILDING WITH AESNI SUPPORT" ) \
88-
&& cmake -S . -B build \
88+
&& cmake -S . -B build -DCMAKE_C_FLAGS="-fomit-frame-pointer" \
8989
&& cmake --build build -j $(nproc) \
9090
&& cmake --install build \
9191
&& cd .. \

0 commit comments

Comments
 (0)