From: Brian Paul Date: Thu, 1 Jan 2004 15:17:20 +0000 (+0000) Subject: added -fPIC -fomit-frame-pointer etc to sunos5-gcc configs (bug 868737) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7a3b7e27be2803574e86a5b822fb875a0a9b486;p=mesa.git added -fPIC -fomit-frame-pointer etc to sunos5-gcc configs (bug 868737) --- diff --git a/Make-config b/Make-config index e544cf3d977..0bb79654788 100644 --- a/Make-config +++ b/Make-config @@ -991,8 +991,8 @@ sunos5-gcc: "OSMESA_LIB = libOSMesa.so" \ "CC = gcc" \ "CXX = g++" \ - "CFLAGS = -O3 -I/usr/openwin/include -DUSE_XSHM" \ - "CXXFLAGS = -O3 -I/usr/openwin/include" \ + "CFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_XSHM" \ + "CXXFLAGS = -O3 -I/usr/openwin/include -fPIC -fomit-frame_pointer -D_REENTRANT" \ "GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG" \ "GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" \ "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \ @@ -1009,8 +1009,8 @@ sunos5-gcc-debug: "OSMESA_LIB = libOSMesa.so" \ "CC = gcc" \ "CXX = g++" \ - "CFLAGS = -g -I/usr/openwin/include -DUSE_XSHM" \ - "CXXFLAGS = -g -I/usr/openwin/include" \ + "CFLAGS = -g -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT -DUSE_XSHM" \ + "CXXFLAGS = -g -I/usr/openwin/include -fPIC -fomit-frame-pointer -D_REENTRANT" \ "GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG" \ "GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" \ "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \