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 |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 12 | |
Dan Nicholson | 01b18ab | 2007-11-01 06:01:53 -0700 | [diff] [blame] | 13 | # Work around aliasing bugs - developers should comment this out |
| 14 | CFLAGS += -fno-strict-aliasing |
| 15 | CXXFLAGS += -fno-strict-aliasing |
| 16 | |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 17 | |