summaryrefslogtreecommitdiff
path: root/top.sed
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-16 12:19:22 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-16 12:19:22 +0000
commitfd1d8cdc09ed86e4a0812120a17ff0d7b04adcaf (patch)
tree341289a84a427f1e92425c7ebf82d2f1733e9a40 /top.sed
parentf12baed5df6d3c213dd75d2f0d9f36bb179fb843 (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/RUBY@11 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'top.sed')
-rw-r--r--top.sed6
1 files changed, 3 insertions, 3 deletions
diff --git a/top.sed b/top.sed
index d91a80e..934f601 100644
--- a/top.sed
+++ b/top.sed
@@ -1,6 +1,6 @@
/^SHELL/s,/bin/sh,$(COMPSEC),
-/^VPATH/s/:/;/g
s/@srcdir@/./g
+s/@top_srcdir@/../
s/@CC@/gcc/
s/@CPP@/gcc -E/
s/@CPPFLAGS@//
@@ -11,7 +11,7 @@ s/@INSTALL@/ginstall -c/
s/@INSTALL_PROGRAM@/${INSTALL}/
s/@INSTALL_DATA@/${INSTALL} -m 644/
s/@SET_MAKE@//
-s/@CFLAGS@/-g -O -I./
+s/@CFLAGS@/-g -O2 -I./
s/@STATIC@//
s/@LDFLAGS@//
s/@LIBS@//
@@ -40,7 +40,7 @@ s/y\.tab\.c/y_tab.c/
#/`rm -f ruby`/s//`rm -f ruby.exe`/
#/`cp miniruby ruby`/s//`cp miniruby.exe ruby.exe`/
/^all:.*miniruby/ {
- n;N;N;N;c\
+ n;c\
cd ext\
../miniruby ./extmk.rb\
cd ..