Skip to content
Snippets Groups Projects
Commit 321d8b5f authored by Stephen Hurd's avatar Stephen Hurd
Browse files

Add new patch to remove -march on GCC

parent 709dfbd2
Branches
No related tags found
No related merge requests found
--- tools/ccopts.sh.sbbs 2022-02-25 13:17:06.665485787 +1100
+++ tools/ccopts.sh 2022-02-25 13:03:43.969689324 +1100
@@ -591,7 +591,7 @@
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] || [ "$ARCH" = "x86_64" ] ; then
if [ "$GCC_VER" -ge 45 ] ; then
- CCARGS="$CCARGS -march=native -mtune=generic" ;
+ CCARGS="$CCARGS -mtune=generic" ;
if [ "$ARCH" = "x86_64" ] ; then
CCARGS="$CCARGS -fPIC" ;
fi ;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment