-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
cc: -Xarch should not skip the next argument. #28985
Conversation
The format is -Xarch_i386 as opposed to -Xarch i386 unliked -arch i386 so the next argument should not be skipped. This was causing issues for some formulae e.g. qt in which case it was skipping -m3dnow and -mmmx.
To clarify, With this patch, consider the following:
|
Here's a very rough patch that should correctly preserve the |
@jacknagel No luck with that. Still getting this:
Note, I tested that without @MikeMcQuaid's patch. Wasn't sure if yours is supposed to replace it or not, etc. |
@MikeMcQuaid Just tested this PR, and qt 4.8.6 successfully installs on my system with it (Mac Mini server - OSX 10.7.5). Seems good to me. 😄 |
@justinclift You'd need to test @jacknagel's branch with my branch's Qt patch. |
@MikeMcQuaid I can't get his patch to cleanly apply to yours using the UI, and I don't have time atm to really look into this. Sorry. 😦 |
Applying @jacknagel commits and PR |
Applied my changes + Mike's qt commit. |
Yep, works here. 😄 |
The format is
-Xarch_i386
as opposed to-Xarch i386
unliked-arch i386
so the next argument should not be skipped. This was causing issues for some formulae e.g.qt
in which case it was skipping-m3dnow
and-mmmx
.Also, remove Qt's superenv hacks now that this is fixed.