Skip to content
Snippets Groups Projects
Commit 177c4804 authored by toy's avatar toy
Browse files

o Compile with optimization.

o Add elf.c.  (Untested if this actually works on Solaris, but allows
  builds to work.)
parent 443b34aa
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ vpath %.S .:$(PATH1) ...@@ -22,7 +22,7 @@ vpath %.S .:$(PATH1)
# instructions, even if we don't use the 64-bit registers. # instructions, even if we don't use the 64-bit registers.
#CC_V8PLUS = -xarch=v8plus #CC_V8PLUS = -xarch=v8plus
#AS_V8PLUS = -Wa,-xarch=v8plus AS_V8PLUS = -Wa,-xarch=v8plus
# Enable support for :linkage-table feature. # Enable support for :linkage-table feature.
...@@ -30,7 +30,7 @@ LINKAGE = -DLINKAGE_TABLE ...@@ -30,7 +30,7 @@ LINKAGE = -DLINKAGE_TABLE
CPPFLAGS = -I. -I$(PATH1) -I/usr/openwin/include -I/usr/include/X11 -DSOLARIS -DSOLARIS25 -DSVR4 $(CC_V8PLUS) $(LINKAGE) CPPFLAGS = -I. -I$(PATH1) -I/usr/openwin/include -I/usr/include/X11 -DSOLARIS -DSOLARIS25 -DSVR4 $(CC_V8PLUS) $(LINKAGE)
CC = gcc CC = gcc -O
CPP = gcc -E CPP = gcc -E
CFLAGS = -g $(AS_V8PLUS) CFLAGS = -g $(AS_V8PLUS)
...@@ -46,6 +46,6 @@ ARCH_SRC = sparc-arch.c ...@@ -46,6 +46,6 @@ ARCH_SRC = sparc-arch.c
# This has been checked out on Solaris 2.7 (aka 7) without problems. # This has been checked out on Solaris 2.7 (aka 7) without problems.
# The resulting binaries work ok on 2.5. # The resulting binaries work ok on 2.5.
OS_SRC = solaris-os.c os-common.c undefineds.c OS_SRC = solaris-os.c os-common.c undefineds.c elf.c
OS_LINK_FLAGS= OS_LINK_FLAGS=
OS_LIBS= -lsocket -lnsl -ldl OS_LIBS= -lsocket -lnsl -ldl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment