mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-12-04 05:33:41 +00:00
01b18abf93
Use a GCC option to work around aliasing bugs. See commit 013dbcd
for
more details.
20 lines
566 B
Plaintext
20 lines
566 B
Plaintext
# 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
|
|
|