option to use Sun compiler (on lhf account)

This commit is contained in:
Roberto Ierusalimschy 2007-12-27 10:59:43 -02:00
parent fdecdd0cec
commit b8d23d6e07
1 changed files with 10 additions and 8 deletions

View File

@ -12,22 +12,24 @@ CWARNS= -pedantic -Waggregate-return -Wcast-align \
# -DEXTERNMEMCHECK -DHARDSTACKTESTS -DHARDMEMTESTS
# -g -DLUA_USER_H='"ltests.h"'
# -fomit-frame-pointer #-pg -malign-double
TESTS= -g -DLUA_USER_H='"ltests.h"'
# TESTS= -g -DLUA_USER_H='"ltests.h"'
LOCAL = $(TESTS) $(CWARNS)
CC= gcc
CFLAGS= -Wall $(MYCFLAGS) -O2
AR= ar rcu
RANLIB= ranlib
RM= rm -f
MYCFLAGS= $(LOCAL)
MYLDFLAGS=
MYLIBS=
CC= gcc
CFLAGS= -Wall $(MYCFLAGS) -O2
# CC= ~lhf/sunstudio12/bin/cc
# CFLAGS= -xO5 -v -Xc -native -xstrconst
AR= ar rcu
RANLIB= ranlib
RM= rm -f
# enable Linux goodies
MYCFLAGS= $(LOCAL) -DLUA_USE_LINUX
MYLDFLAGS= -Wl,-E