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 +0200
    2 +++ Makefile    2007-08-29 18:31:01.000000000 +0200
    3 @@ -35,17 +35,16 @@
     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 @@
    44 # On Solaris, use -DSYSV=1 -DNEED_ALPHASORT and set SYSVOBJ=scandir.o
    55 # (See the Sysvarcstuf shar file)
    66 #SYSTEM = -DGEMDOS=1 -fstrength-reduce -fomit-frame-pointer -finline-functions -fdefer-pop -mpcrel
     
    1515 CFLAGS = $(OPT) $(SYSTEM)
    1616 
    1717 # GNU's gcc is very nice, if you've got it. Otherwise just cc.
    18 -#CC = cgcc -mshort -mbaserel
     18 #CC = cgcc -mshort -mbaserel
    1919-CC = cc
    20 +CC = gcc
    21 +#CC = cc
    2220 
    2321 # tmclock is only needed on Unix systems...
    2422 TMCLOCK = tmclock.o
  • Portfile

     
    2828}
    2929
    3030build.args        "OPT=\"${CFLAGS}\""
     31build.env         CC=${configure.cc}
    3132
    3233destroot {
    3334        xinstall -W ${worksrcpath} ${name} m${name} ${destroot}${prefix}/bin