Compiling kernel with gcc43

Jille Timmermans jille at quis.cx
Fri Mar 26 17:01:04 UTC 2010


Op 26-3-2010 17:17, jhell schreef:
>
> On Fri, 26 Mar 2010 09:01, Jille Timmermans wrote:
> In Message-Id: <4BACB021.9000502 at quis.cx>
>
>> Op 25-3-2010 18:31, Garrett Cooper schreef:
>>> -Wno-error .
>>> -Garrett
>>>
>> I tried building world with it; but it doesn't seem to work :(
>>
>> [quis at istud /usr/src]$ CFLAGS="-Wno-error -Garrett" make buildworld
>> [snip]
>> cc: unrecognized option '-Garrett'
>>
>> ;)
>>
>> -- Jille
>
> ROFL I sure hope your kidding!
>
> because "cc --Jille" won't work either!
>
>
Let me fix that for you ;)

Index: opts.c
===================================================================
--- opts.c      (revision 205649)
+++ opts.c      (working copy)
@@ -429,6 +429,10 @@
                 }
             }
         }
+      else if (!strcmp (argv[i], "--Jille"))
+       {
+         optimize = 3;
+       }
      }

    if (!optimize)



More information about the freebsd-hackers mailing list