fix darwin build

Submitted by Mike Stump on Sept. 29, 2010, 5:31 p.m.

Details

Message ID 4DBB95C4-8469-4BB6-90C3-13AA79C3449E@comcast.net
State New
Headers show

Commit Message

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.

Comments

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 hide | download patch | download mbox

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