#318 √ resolved
kwatch

[BUG] can't compile due to syntax error in 'shotgun/lib/Makefile'

Reported by kwatch | February 11th, 2008 @ 01:49 AM | in 1.0 preview

It is not able to compile Rubinius due to the folloing syntax error in 'shotgun/lib/Makefile'.

diff --git a/shotgun/lib/Makefile b/shotgun/lib/Makefile
index 353aeec..2508f35 100644
--- a/shotgun/lib/Makefile
+++ b/shotgun/lib/Makefile
@@ -56,7 +56,8 @@ endif
 
 ifdef PROF
 	OPTIMIZATIONS=-O2
-else ifdef DEV
+else
+ifdef DEV
   OPTIMIZATIONS=
 else
   INLINE_OPTS=-Winline -finline-limit=2000 --param max-inline-insns-single=3500 --param large-function-growth=7000 --param inline-unit-growth=1500
@@ -67,6 +68,7 @@ else
     OPTIMIZATIONS=-O2 -funroll-loops -finline-functions $(INLINE_OPTS) $(FP_OPTS)
   endif
 endif
+endif
 
 ifeq ($(CPU), powerpc)
   OPTIMIZATIONS+=-falign-loops=16

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Tags