2f1bd26104
- Avoid setting _FORTIFY_SOURCE in configure script, it may conflict with flags passed in otherwise (e.g. rpmbuild). - Update to dd_rescue-1.99.14: * Drop patches dd_rescue-u-emptyout-segfault.diff:, dd_rescue-fuzz-test-more-err.diff:, dd_rescue-md5-unaligned-armv7.diff:, dd_rescue-ossl3-evpcipherctx.diff: All integrated upstream. * Fix detection of LFS function availability for musl. * Include headers and settings to make it work on musl. * Replaced basename() with mybasename.h. * Prefetch lookup table for sha hashing. * Fix verbose output when falling back to small blocksize. * Fix clearing of errno (unaligned writes at EOF on musl) - Final tarball with fixes for Android Makefiles. OBS-URL: https://build.opensuse.org/request/show/1195603 OBS-URL: https://build.opensuse.org/package/show/Base:System/dd_rescue?expand=0&rev=80
16 lines
659 B
Diff
16 lines
659 B
Diff
Index: dd_rescue-1.99.14/configure.ac
|
|
===================================================================
|
|
--- dd_rescue-1.99.14.orig/configure.ac
|
|
+++ dd_rescue-1.99.14/configure.ac
|
|
@@ -46,8 +46,8 @@ CC_FLAGS_CHECK(-mavx2,AVX2)
|
|
CC_FLAGS_CHECK(-mrdrnd,RDRND)
|
|
CC_FLAGS_CHECK(-maes,AES)
|
|
|
|
-#CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 -fPIE -pie -rdynamic"
|
|
-CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 -fPIE"
|
|
+#CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIE -pie -rdynamic"
|
|
+CFLAGS="$CFLAGS -fPIE"
|
|
dnl ***************************************************************************
|
|
dnl Check for support of rep nop
|
|
AC_MSG_CHECKING(whether asm rep nop is supported)
|