aboutsummaryrefslogtreecommitdiffstats
path: root/erts/lib_src
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-04-19 23:04:24 +0200
committerRickard Green <[email protected]>2013-04-21 22:04:57 +0200
commite550cd4842f4bd9d2555fceb47ec3064e0037372 (patch)
tree285e59e239912e059a0c571493d97b47bee88543 /erts/lib_src
parentad7231b1b5227f2ba9baa58c1c436ff9a95d2c67 (diff)
downloadotp-e550cd4842f4bd9d2555fceb47ec3064e0037372.tar.gz
otp-e550cd4842f4bd9d2555fceb47ec3064e0037372.tar.bz2
otp-e550cd4842f4bd9d2555fceb47ec3064e0037372.zip
Add 'frmptr' emulator type
Diffstat (limited to 'erts/lib_src')
-rw-r--r--erts/lib_src/Makefile.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/lib_src/Makefile.in b/erts/lib_src/Makefile.in
index 0fc3ac6efc..4f0a5e5202 100644
--- a/erts/lib_src/Makefile.in
+++ b/erts/lib_src/Makefile.in
@@ -86,6 +86,12 @@ CFLAGS += -DERTS_ENABLE_LOCK_COUNT
OMIT_FP=true
PRE_LD=
else
+ifeq ($(TYPE),frmptr)
+TYPE_SUFFIX = .frmptr
+CFLAGS += -DERTS_FRMPTR
+OMIT_OMIT_FP=yes
+PRE_LD=
+else
override TYPE=opt
OMIT_FP=true
TYPE_SUFFIX=
@@ -98,6 +104,7 @@ endif
endif
endif
endif
+endif
OPSYS=@OPSYS@
sol2CFLAGS=
@@ -110,6 +117,7 @@ ultrasparcCFLAGS=-Wa,-xarch=v8plusa
ARCHCFLAGS=$($(ARCH)CFLAGS)
ifeq ($(OMIT_OMIT_FP),yes)
+CFLAGS += -fno-omit-frame-pointer
OMIT_FP=false
endif