blob: 568b1e37afdb98b1f0975fade8754326e416433d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Author: Steve Langasek <steve.langasek@ubuntu.com>
Description: do not hard-code CPU target based on uname (Closes: #1009622).
The compiler in Debian correctly targets the right ISA for the
architecture. Hard-coding this can result in misbuilds depending on the
build machine. Also, armv7-a is the wrong target for armhf now, it should
be armv7-a+fp.
diff -Naurp ck.orig/configure ck/configure
--- ck.orig/configure
+++ ck/configure
@@ -503,14 +503,6 @@ case $PLATFORM in
ENVIRONMENT=64
;;
arm|armv6|armv6l|armv7|armv7l)
- case "$PLATFORM" in
- "armv6"|"armv6l")
- CFLAGS="$CFLAGS -march=armv6k";
- ;;
- "armv7"|"armv7l")
- CFLAGS="$CFLAGS -march=armv7-a";
- ;;
- esac
RTM_ENABLE="CK_MD_RTM_DISABLE"
LSE_ENABLE="CK_MD_LSE_DISABLE"
MM="${MM:-"CK_MD_RMO"}"
|