gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: gcl-2.6.1 on Fedora Core?


From: Rex Dieter
Subject: [Gcl-devel] Re: gcl-2.6.1 on Fedora Core?
Date: Tue, 16 Mar 2004 11:01:29 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040226


Here's a small patch that fixes sed on Fedora Core (and the use of the -Wa,--exec-stack). sed was using ',' as a separator, it that fails when the item you're trying to substitue also contains commas.

-- Rex
--- gcl-2.6.1/unixport/makefile.fc      2004-03-03 09:01:43.000000000 -0600
+++ gcl-2.6.1/unixport/makefile 2004-03-07 14:27:21.000000000 -0600
@@ -100,10 +100,10 @@
                -e "s,@LI-MINVERS@,`cat ../minvers | cut -f1 -d.`,1" \
                -e "s,@LI-MAJVERS@,`cat ../majvers`,1" \
                -e "s/@LI-CC@/\"$(CC) -c $(FINAL_CFLAGS)\"/1" \
-               -e "s,@LI-LD@,\"$(CC) -o \",1" \
+               -e "s/@LI-LD@/\"$(CC) -o \"/1" \
                -e "s,@LI-LD-LIBS@,\" $(LD_LIBS_PRE) -l$* $(LD_LIBS_POST)\",1" \
-               -e "s,@LI-OPT-THREE@,\"$(O3FLAGS)\",1" \
-               -e "s,@LI-OPT-TWO@,\"$(O2FLAGS)\",1" \
+               -e "s/@LI-OPT-THREE@/\"$(O3FLAGS)\"/1" \
+               -e "s/@LI-OPT-TWO@/\"$(O2FLAGS)\"/1" \
                -e "s,@LI-INIT-LSP@,\"address@hidden",1" >$@
 
 saved_%:raw_% $(RSYM) init_%.lsp \

reply via email to

[Prev in Thread] Current Thread [Next in Thread]