mirror of https://github.com/rusefi/lua.git
option to use Sun compiler (on lhf account)
This commit is contained in:
parent
fdecdd0cec
commit
b8d23d6e07
18
makefile
18
makefile
|
@ -12,22 +12,24 @@ CWARNS= -pedantic -Waggregate-return -Wcast-align \
|
||||||
# -DEXTERNMEMCHECK -DHARDSTACKTESTS -DHARDMEMTESTS
|
# -DEXTERNMEMCHECK -DHARDSTACKTESTS -DHARDMEMTESTS
|
||||||
# -g -DLUA_USER_H='"ltests.h"'
|
# -g -DLUA_USER_H='"ltests.h"'
|
||||||
# -fomit-frame-pointer #-pg -malign-double
|
# -fomit-frame-pointer #-pg -malign-double
|
||||||
TESTS= -g -DLUA_USER_H='"ltests.h"'
|
# TESTS= -g -DLUA_USER_H='"ltests.h"'
|
||||||
|
|
||||||
LOCAL = $(TESTS) $(CWARNS)
|
LOCAL = $(TESTS) $(CWARNS)
|
||||||
|
|
||||||
|
|
||||||
CC= gcc
|
|
||||||
CFLAGS= -Wall $(MYCFLAGS) -O2
|
|
||||||
AR= ar rcu
|
|
||||||
RANLIB= ranlib
|
|
||||||
RM= rm -f
|
|
||||||
|
|
||||||
MYCFLAGS= $(LOCAL)
|
MYCFLAGS= $(LOCAL)
|
||||||
MYLDFLAGS=
|
MYLDFLAGS=
|
||||||
MYLIBS=
|
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
|
# enable Linux goodies
|
||||||
MYCFLAGS= $(LOCAL) -DLUA_USE_LINUX
|
MYCFLAGS= $(LOCAL) -DLUA_USE_LINUX
|
||||||
MYLDFLAGS= -Wl,-E
|
MYLDFLAGS= -Wl,-E
|
||||||
|
|
Loading…
Reference in New Issue