summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-05-18 17:04:13 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-05-18 17:04:13 +0000
commit5e51ebd8eb084a001d9573f115ea0a837c786fa3 (patch)
tree3eca13e9dd0d0df72b1f8ef8713e21962858ee6b
parent0d957ca400045b2b21f5654eb1672b43c4c1950c (diff)
use -march=i486 instead of -m486 (bug 6954)
-rw-r--r--configs/solaris-x86-gcc4
-rw-r--r--configs/solaris-x86-gcc-static4
2 files changed, 4 insertions, 4 deletions
diff --git a/configs/solaris-x86-gcc b/configs/solaris-x86-gcc
index a0f00b2573..1f02ab2f51 100644
--- a/configs/solaris-x86-gcc
+++ b/configs/solaris-x86-gcc
@@ -7,8 +7,8 @@ CONFIG_NAME = solaris-x86-gcc
# Compiler and flags
CC = gcc
CXX = g++
-CFLAGS = -O3 -m486 -fPIC -I/usr/openwin/include -DUSE_XSHM
-CXXFLAGS = -O3 -m486 -fPIC
+CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
+CXXFLAGS = -O3 -march=i486 -fPIC
GLUT_CFLAGS = -fexceptions
GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
diff --git a/configs/solaris-x86-gcc-static b/configs/solaris-x86-gcc-static
index 3cfe5ef8a2..6959ea3e25 100644
--- a/configs/solaris-x86-gcc-static
+++ b/configs/solaris-x86-gcc-static
@@ -7,8 +7,8 @@ CONFIG_NAME = solaris-x86-gcc
# Compiler and flags
CC = gcc
CXX = g++
-CFLAGS = -O3 -m486 -fPIC -I/usr/openwin/include -DUSE_XSHM
-CXXFLAGS = -O3 -m486 -fPIC
+CFLAGS = -O3 -march=i486 -fPIC -I/usr/openwin/include -DUSE_XSHM
+CXXFLAGS = -O3 -march=i486 -fPIC
GLUT_CFLAGS = -fexceptions
MKLIB_OPTIONS = -static