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

Turn on v8plus abi when compiling.

parent 1b903a8a
No related branches found
No related tags found
No related merge requests found
# For Solaris 2.4 or earlier, remove -DSOLARIS25 from CPPFLAGS. # For Solaris 2.4 or earlier, remove -DSOLARIS25 from CPPFLAGS.
# For v8plus support (allows 64-bit integer support on V9 architectures), add -Dv8plus.
# The -Wa,xarch=v8plus option tells the assembler to accept v8plus instructions
# and generate a v8plus object files and executable
CPPFLAGS = -I/usr/openwin/include -I/usr/include/X11 -DSOLARIS -DSOLARIS25 -DSVR4 CPPFLAGS = -I/usr/openwin/include -I/usr/include/X11 -DSOLARIS -DSOLARIS25 -DSVR4 -Dv8plus
CC = gcc CC = gcc
CPP = gcc -E CPP = gcc -E
CFLAGS = -g -O3 CFLAGS = -g -O3 -Wa,-xarch=v8plus
# Needed for sys/asm_linkage.h and sparc-assem.S (at least in 2.3) # Needed for sys/asm_linkage.h and sparc-assem.S (at least in 2.3)
# Note that the sys/asm_linkage.h braindamage breaks make depend # Note that the sys/asm_linkage.h braindamage breaks make depend
ASFLAGS = -g -traditional-cpp ASFLAGS = -g -traditional-cpp
......
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