Ticket #20073: arc-cc.diff
File arc-cc.diff, 1.2 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
files/patch-Makefile
1 --- Makefile .orig 2007-08-29 18:30:18.000000000 +02002 +++ Makefile 200 7-08-29 18:31:01.000000000 +02003 @@ -35,17 +35,1 6@@1 --- Makefile 2005-10-08 20:30:24.000000000 -0500 2 +++ Makefile 2009-06-25 02:09:35.000000000 -0500 3 @@ -35,17 +35,15 @@ 4 4 # On Solaris, use -DSYSV=1 -DNEED_ALPHASORT and set SYSVOBJ=scandir.o 5 5 # (See the Sysvarcstuf shar file) 6 6 #SYSTEM = -DGEMDOS=1 -fstrength-reduce -fomit-frame-pointer -finline-functions -fdefer-pop -mpcrel … … 15 15 CFLAGS = $(OPT) $(SYSTEM) 16 16 17 17 # GNU's gcc is very nice, if you've got it. Otherwise just cc. 18 -#CC = cgcc -mshort -mbaserel18 #CC = cgcc -mshort -mbaserel 19 19 -CC = cc 20 +CC = gcc21 +#CC = cc22 20 23 21 # tmclock is only needed on Unix systems... 24 22 TMCLOCK = tmclock.o -
Portfile
28 28 } 29 29 30 30 build.args "OPT=\"${CFLAGS}\"" 31 build.env CC=${configure.cc} 31 32 32 33 destroot { 33 34 xinstall -W ${worksrcpath} ${name} m${name} ${destroot}${prefix}/bin