aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/Makefile.in
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-07-05 10:38:38 +0200
committerSverker Eriksson <[email protected]>2012-07-05 10:38:38 +0200
commit9938f051f963c327a64ca2a78d949df8fc128bc5 (patch)
treeb65ba0b51f339f54b7abb65d8d288bb714c3403b /erts/emulator/Makefile.in
parente077fb6fd3de258fa3cd4467fa94ad6b1d974368 (diff)
parent1bc0714f0146cedf7b407c54dbd79817f3b9294c (diff)
downloadotp-9938f051f963c327a64ca2a78d949df8fc128bc5.tar.gz
otp-9938f051f963c327a64ca2a78d949df8fc128bc5.tar.bz2
otp-9938f051f963c327a64ca2a78d949df8fc128bc5.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/Makefile.in')
-rw-r--r--erts/emulator/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in
index de4be0551f..e20e38d61b 100644
--- a/erts/emulator/Makefile.in
+++ b/erts/emulator/Makefile.in
@@ -926,6 +926,11 @@ $(TTF_DIR)/hipe_arm_bifs.S: hipe/hipe_arm_bifs.m4 hipe/hipe_arm_asm.m4 \
$(OBJDIR)/hipe_arm_bifs.o: $(TTF_DIR)/hipe_arm_bifs.S \
$(TTF_DIR)/hipe_literals.h
+# Use -fomit-frame-pointer to work around gcc (v4.5.2) bug causing
+# "error: r7 cannot be used in asm here" for DEBUG build.
+$(OBJDIR)/hipe_arm.o: hipe/hipe_arm.c
+ $(CC) $(subst O2,O3, $(CFLAGS)) -fomit-frame-pointer $(INCLUDES) -c $< -o $@
+
# end of HiPE section
########################################