Blame SOURCES/annobin-libannocheck-test.patch
|
|
0cd92c |
--- annobin.orig/tests/libannocheck-test 2022-06-23 10:16:50.270910280 +0100
|
|
|
0cd92c |
+++ annobin-10.76/tests/libannocheck-test 2022-06-23 10:17:42.873589350 +0100
|
|
|
0cd92c |
@@ -32,7 +32,7 @@ then
|
|
|
0cd92c |
exit 1
|
|
|
0cd92c |
fi
|
|
|
0cd92c |
|
|
|
0cd92c |
-COMMAND="$GCC use-libannocheck.o -L $LIBANNOCHECKDIR -lannocheck -o use-libannocheck -lelf -ldw -liberty -Wl,-rpath=$LIBANNOCHECKDIR -Wl,-z,now"
|
|
|
0cd92c |
+COMMAND="$GCC use-libannocheck.o -L $LIBANNOCHECKDIR -fno-lto -lannocheck -o use-libannocheck -lelf -ldw -liberty -Wl,-rpath=$LIBANNOCHECKDIR -Wl,-z,now"
|
|
|
0cd92c |
$COMMAND
|
|
|
0cd92c |
if [ $? != 0 ];
|
|
|
0cd92c |
then
|
|
|
0cd92c |
@@ -50,7 +50,7 @@ then
|
|
|
0cd92c |
exit 1
|
|
|
0cd92c |
fi
|
|
|
0cd92c |
|
|
|
0cd92c |
-COMMAND="$GCC use-libannocheck.o -L $LIBANNOCHECKDIR -lannocheck -o use-libannocheck -lelf -ldw -liberty -Wl,-rpath=$LIBANNOCHECKDIR -Wl,-z,lazy"
|
|
|
0cd92c |
+COMMAND="$GCC use-libannocheck.o -L $LIBANNOCHECKDIR -fno-lto -lannocheck -o use-libannocheck -lelf -ldw -liberty -Wl,-rpath=$LIBANNOCHECKDIR -Wl,-z,lazy"
|
|
|
0cd92c |
$COMMAND
|
|
|
0cd92c |
if [ $? != 0 ];
|
|
|
0cd92c |
then
|