diff options
author | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:44:43 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:44:43 +0100 |
commit | 5417f377560f2ccdc018507832978679fb93765c (patch) | |
tree | a7f38ba428c5974dc922c9e1b94817504c076ea8 /configs/sunos4-gcc | |
parent | 4bb4cbf829413ce37cb6dcb31c14d1548b6fa765 (diff) | |
download | glut-5417f377560f2ccdc018507832978679fb93765c.tar.gz |
Add enough of the autoconf/gmake build infrastructure to build glut.
Diffstat (limited to 'configs/sunos4-gcc')
-rw-r--r-- | configs/sunos4-gcc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configs/sunos4-gcc b/configs/sunos4-gcc new file mode 100644 index 0000000..0942291 --- /dev/null +++ b/configs/sunos4-gcc @@ -0,0 +1,19 @@ +# Configuration for SunOS 4, with gcc, shared libs + +include $(TOP)/configs/default + +CONFIG_NAME = sunos4-gcc + +# Compiler and flags +CC = gcc +CXX = g++ +CFLAGS = -fPIC -O3 -I/usr/openwin/include -I/usr/include/X11R5 -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4 +CXXFLAGS = -fPIC -O3 -I/usr/openwin/include -DSUNOS4 +GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG + +# Work around aliasing bugs - developers should comment this out +CFLAGS += -fno-strict-aliasing +CXXFLAGS += -fno-strict-aliasing + +APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm + |