Skip to content

Commit 3d92d62

Browse files
mtsanovvkhwilliamson
authored andcommitted
Exit on unrecognized darwin arch hint
Not sure if Apple are to introduce another CPU architecture to their device lineup - but they already did it 2 times. When building this on arm64 macOS, before adding the arm64 arch hint, Configure with use64bitall wouldn't exit, but a rather cryptic clang error would be thrown for an unknown arch name, simply because nothing was passed after the -arch flag.
1 parent 93a8029 commit 3d92d62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hints/darwin.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ EOM
433433
*** Don't recognize processor, can't specify 64 bit compilation.
434434
435435
EOM
436+
exit 1
436437
;;
437438
esac
438439
for var in ccflags cppflags ld ldflags

0 commit comments

Comments
 (0)