Message ID | 4DBB95C4-8469-4BB6-90C3-13AA79C3449E@comcast.net |
---|---|
State | New |
Headers | show |
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
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