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