Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 1 | # Configuration for SunOS 4, with gcc, shared libs |
| 2 | |
| 3 | include $(TOP)/configs/default |
| 4 | |
| 5 | CONFIG_NAME = sunos4-gcc |
| 6 | |
| 7 | # Compiler and flags |
| 8 | CC = gcc |
| 9 | CXX = g++ |
| 10 | CFLAGS = -fPIC -O3 -I/usr/openwin/include -I/usr/include/X11R5 -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4 |
| 11 | CXXFLAGS = -fPIC -O3 -I/usr/openwin/include -DSUNOS4 |
| 12 | GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG |
| 13 | |
Dan Nicholson | 01b18ab | 2007-11-01 06:01:53 -0700 | [diff] [blame] | 14 | # Work around aliasing bugs - developers should comment this out |
| 15 | CFLAGS += -fno-strict-aliasing |
| 16 | CXXFLAGS += -fno-strict-aliasing |
| 17 | |
Brian Paul | 883f989 | 2006-07-13 02:50:27 +0000 | [diff] [blame] | 18 | APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 19 | |