Skip to content

Commit

Permalink
Attempt to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Jan 3, 2025
1 parent a297859 commit e55363e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/arch-x86_64-function-multiversion.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash
. $(dirname $0)/common.inc

cat <<EOF | $GCC -o $t/a.o -c -xc++ - -fPIC
supports_ifunc || skip

cat <<EOF | $GXX -o $t/a.o -c -xc++ - -fPIC
#include <iostream>
class Hello {
Expand All @@ -17,7 +19,7 @@ EOF

$CXX -B. -shared -o $t/b.so $t/a.o

cat <<EOF | $CC -o $t/c.o -c -xc++ - -fPIC
cat <<EOF | $CXX -o $t/c.o -c -xc++ - -fPIC
void hello();
int main() { hello(); }
EOF
Expand Down

0 comments on commit e55363e

Please sign in to comment.