Patchwork fix darwin build

login
register
mail settings
Submitter Mike Stump
Date Sept. 29, 2010, 5:31 p.m.
Message ID <4DBB95C4-8469-4BB6-90C3-13AA79C3449E@comcast.net>
Download mbox | patch
Permalink /patch/66082/
State New
Headers show

Comments

Mike Stump - Sept. 29, 2010, 5:31 p.m.
I needed the below to fix a broken build on a linux->darwin cross compiler...

2010-09-29  Mike Stump  <mikestump@comcast.net>

        * config/darwin.h (flag_mkernel): Remove.
        (flag_apple_kext): Likewise.
IainS - Sept. 29, 2010, 5:57 p.m.
On 29 Sep 2010, at 18:31, Mike Stump wrote:

> I needed the below to fix a broken build on a linux->darwin cross  
> compiler...

thanks,
(I'd done the same locally but was waiting for bootstrap to finish  
before posting)

Iain

Patch

Index: gcc/gcc/config/darwin.h
===================================================================
--- gcc/gcc/config/darwin.h	(revision 164725)
+++ gcc/gcc/config/darwin.h	(working copy)
@@ -1052,8 +1052,6 @@ 
 /* For Apple KEXTs, we make the constructors return this to match gcc
    2.95.  */
 #define TARGET_CXX_CDTOR_RETURNS_THIS (darwin_kextabi_p)
-extern int flag_mkernel;
-extern int flag_apple_kext;
 #define TARGET_KEXTABI flag_apple_kext
 
 #define TARGET_HAS_TARGETCM 1