blob: e689436fe31696e249db2c21b6425794caa44e41 [file] [log] [blame]
Jeremy Kerr459b0ea2015-05-04 15:49:08 +08001From 11bff93ad1ca613b1db9d96e9ea9c46b7d7bf48d Mon Sep 17 00:00:00 2001
2From: Jeremy Kerr <jk@ozlabs.org>
3Date: Thu, 5 Mar 2015 22:44:40 +1100
4Subject: [PATCH] Makefile: specify abiv1
5
6Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7---
8 Makefile.main | 3 ++-
9 1 file changed, 2 insertions(+), 1 deletion(-)
10
11diff --git a/Makefile.main b/Makefile.main
12index 3c67037..76f0bd3 100644
13--- a/Makefile.main
14+++ b/Makefile.main
15@@ -50,7 +50,8 @@ CPPFLAGS += -DBITS_PER_LONG=64 -DHAVE_BIG_ENDIAN
16 # causing all our printf's to warn
17 CPPFLAGS += -ffreestanding
18
19-CFLAGS := -fno-strict-aliasing -fstack-protector-all -pie -mbig-endian -m64
20+CFLAGS := -fno-strict-aliasing -fstack-protector-all -pie \
21+ -mbig-endian -m64 -mabi=elfv1
22
23 ifeq ($(STACK_CHECK),1)
24 CFLAGS += -fstack-protector-all -pg
25--
261.9.1
27