Changed -DSOLARIS option.

This commit is contained in:
Janet B. Anderson
2002-07-30 22:22:47 +00:00
parent 2eaa8f2daf
commit e054d161d4
2 changed files with 3 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ CCC_SHRLIB_CFLAGS_YES =
CCC_SHRLIB_LDFLAGS_YES = -G -h $@ -z ignore -z combreloc -z lazyload
ARCH_DEP_CFLAGS = -DSOLARIS
ARCH_DEP_CFLAGS = -DSOLARIS=$(subst 5.,,$(shell uname -r))
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
# socket and nsl needed by libca.a

View File

@@ -15,7 +15,8 @@
-include $(EPICS_BASE)/config/CONFIG.Host.solaris
# Solaris on x86
ARCH_DEP_CFLAGS = -DSOLARIS -D_X86_ -D__EXTENSIONS__
ARCH_DEP_CFLAGS = -DSOLARIS=$(subst 5.,,$(shell uname -r)) -D_X86_ -D__EXTENSIONS__
GCC = gcc
G++ = g++