OSDN Git Service

use -march=i486 instead of -m486 (bug 6954)
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 18 May 2006 17:04:13 +0000 (17:04 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 18 May 2006 17:04:13 +0000 (17:04 +0000)
configs/solaris-x86-gcc
configs/solaris-x86-gcc-static

index a0f00b2..1f02ab2 100644 (file)
@@ -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
index 3cfe5ef..6959ea3 100644 (file)
@@ -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