added -fPIC -fomit-frame-pointer etc to sunos5-gcc configs (bug 868737)
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 1 Jan 2004 15:17:20 +0000 (15:17 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 1 Jan 2004 15:17:20 +0000 (15:17 +0000)
Make-config

index e544cf3d977898aed8077b6409d5ace0fc3afec8..0bb796547880d919c15283573c14e62d7b1fb190 100644 (file)
@@ -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" \