Skip to content

Commit 93c3288

Browse files
committed
COMMON: Add -N flag to patch(1) to avoid reversing patches
1 parent c216c64 commit 93c3288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchains/common/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ __do_patch () {
1717
if [ -d "$PACKAGE_DIR/patches" ]; then
1818
for p in "$PACKAGE_DIR/patches"/*.patch; do
1919
echo "Applying $p"
20-
patch -t -p1 < "$p"
20+
patch -N -t -p1 < "$p"
2121
done
2222
fi
2323
}

0 commit comments

Comments
 (0)