You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
800 B
27 lines
800 B
This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
Contains ad hoc patches for cross building.
|
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Mark Brand <mabrand@mabrand.nl>
|
|
Date: Thu, 5 Sep 2013 14:25:31 -0700
|
|
Subject: [PATCH 1/2] Linking as test is not good for cross compiling
|
|
|
|
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
|
|
|
|
diff --git a/configure b/configure
|
|
index 1111111..2222222 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -561,9 +561,6 @@ process_detect() {
|
|
}
|
|
fi
|
|
check_header stdio.h || die "Unable to invoke compiler: ${CC} ${CFLAGS}"
|
|
- check_ld <<EOF || die "Toolchain is unable to link executables"
|
|
-int main(void) {return 0;}
|
|
-EOF
|
|
# check system headers
|
|
check_header stdint.h
|
|
check_header pthread.h
|
|
|