diff --git a/packages/sed/build.sh b/packages/sed/build.sh index 4f0a1f065..bff8c45c9 100644 --- a/packages/sed/build.sh +++ b/packages/sed/build.sh @@ -5,6 +5,10 @@ TERMUX_PKG_SHA256=2885768cd0a29ff8d58a6280a270ff161f6a3deb5690b2be6c49f46d4c67bd TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/sed/sed-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_BUILD_IN_SRC=yes +termux_step_pre_configure() { + CFLAGS+=" -D__USE_FORTIFY_LEVEL=2" +} + termux_step_post_configure () { touch -d "next hour" $TERMUX_PKG_SRCDIR/doc/sed.1 }