Skip to content

Commit

Permalink
update gcc-ymp
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Jun 10, 2024
1 parent cce5480 commit 27908f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gcc-ymp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for arg in "$@" ; do
done

if [[ "${is_shared}" == true ]] ; then
exec gcc "$@" -nostdlib -lc
exec gcc "$@" -nostdlib -lc -fno-plt
else
exec gcc /usr/lib64/start-$(uname -m).o "$@" -nostdlib -lc
exec gcc /usr/lib64/start-$(uname -m).o -fvisibility="hidden" "$@" -nostdlib -lc -fno-plt
fi

0 comments on commit 27908f2

Please sign in to comment.