summaryrefslogtreecommitdiff
path: root/configs/linux-sparc5
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-08-24 18:06:37 +0000
committerIan Romanick <idr@us.ibm.com>2006-08-24 18:06:37 +0000
commitce9767f863e7788d4ab0099404abce72399f0b2c (patch)
tree2a81681e418fc2ef5ae4fafa56b54bf2a4e02eba /configs/linux-sparc5
parent39f222a4217eb574fbd18ecb7786ffbd4228d03f (diff)
Make sure that _GNU_SOURCE is enabled in the linux configs that set
HAVE_POSIX_MEMALIGN. This eliminates a compiler warning. Also, clean up some crufty linux-sparc* configs.
Diffstat (limited to 'configs/linux-sparc5')
-rw-r--r--configs/linux-sparc514
1 files changed, 2 insertions, 12 deletions
diff --git a/configs/linux-sparc5 b/configs/linux-sparc5
index b55fffcca8..e8848d26ab 100644
--- a/configs/linux-sparc5
+++ b/configs/linux-sparc5
@@ -1,17 +1,7 @@
# Configuration for Linux on Sparc5
-include $(TOP)/configs/default
+include $(TOP)/configs/linux-sparc
CONFIG_NAME = linux-sparc5
-# Compiler and flags
-CC = gcc
-CXX = g++
-CFLAGS = -mcpu=ultrasparc -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM
-CXXFLAGS = -mcpu=ultrasparc -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE
-GLUT_CFLAGS = -fexceptions
-
-GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
-GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
-GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11
-
+ARCH_FLAGS += -mcpu=ultrasparc