summaryrefslogtreecommitdiffstats
path: root/Make-config
diff options
context:
space:
mode:
Diffstat (limited to 'Make-config')
-rw-r--r--Make-config8
1 files changed, 4 insertions, 4 deletions
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" \